Defining capabilities and contracts

Windows 10 provides UWP apps the ability to communicate with any other app on the computer, without prior knowledge of what those apps might be, through a concept called contracts. A contract is an operating system level interface that is implemented by consumers or providers of information. The operating system then keeps track of which apps support which contracts, and coordinates the information between apps using those contracts.

Windows 10, as part of its focus on maintaining a trust level in the apps it runs, expects UWP apps to communicate the capabilities they need. A capability is a permission or access right that a UWP app requires for it to run correctly, for example, an app that requires Internet ...

Get Visual Studio 2015 Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.