Declares a capability required by a package.
<Capability Name = "internetClient" | "internetClientServer" | "privateNetworkClientServer" | "documentsLibrary" | "picturesLibrary" | ... />
|Attribute||Description||Data type||Required||Default value|
The name of the capability.
This attribute can have one of the following values:
Declares the access to protected user resources that the package requires.
The following table describes the capability values.
|internetClient||Your Internet connection for outgoing connections to the Internet.|
|internetClientServer||Your Internet connection, including incoming unsolicited connections from the Internet – the app can send information to or from your computer through a firewall. You do not need to declare internetClient if this capability is declared.|
|privateNetworkClientServer||A home or work network – the app can send information to or from your computer and other computers on the same network.|
|documentsLibrary||Your documents library, including the capability to add, change, or delete files. The package can only access file types that it has declared in the manifest. The app cannot access document libraries on HomeGroup computers.|
|picturesLibrary||Your pictures library, including the capability to add, change, or delete files. This capability also includes pictures libraries on HomeGroup computers, along with picture file types on locally connected media servers.|
|videosLibrary||Your videos library, including the capability to add, change, or delete files. This capability also includes videos libraries on HomeGroup computers, along with video file types on locally connected media servers.|
|musicLibrary||Your music library and playlists, including the capability to add, change, or delete files. This capability also includes music libraries and playlists in the music library on HomeGroup computers, plus music file types on locally connected media servers.|
|enterpriseAuthentication||Your Windows credentials, for access to a corporate intranet. This application can impersonate you on the network.|
|sharedUserCertificates||Software and hardware certificates or a smart card – used to identify you in the app. This capability may be used by your employer, bank, or government services to identify you.|
|removableStorage||Removable storage, such as an external hard drive or USB flash drive, or MTP portable device, including the capability to add, change, or delete specific files. This package can only access file types that it has declared in the manifest.|
Here's an example of a Capabilities node.
<Capabilities> <Capability Name="internetClient"/> <Capability Name="musicLibrary"/> <Capability Name="videosLibrary"/> <DeviceCapability Name="microphone"/> <DeviceCapability Name="webcam"/> </Capabilities>
Build date: 11/26/2013