Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 2.58 KB

File metadata and controls

88 lines (63 loc) · 2.58 KB
description Search.Product title ms.assetid keywords ms.topic ms.date
Declares a capability required by a package (Windows 10).
eADQiWindows 10XVcnh
Capability (Windows 10)
ee6bf220-f139-4ad9-a7a7-e621c189b907
windows 10, uwp, schema, package manifest
reference
04/05/2017

Capability (Windows 10)

Declares a capability required by a package.

Element hierarchy

<Package>

    <Capabilities>

         <Capability>

Syntax

<Capability
    Name = 'A string that can one of the following values: "internetClient", "internetClientServer", "privateNetworkClientServer", "allJoyn", or "codeGeneration".' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Name The name of the capability. A string that can one of the following values: internetClient, internetClientServer, privateNetworkClientServer, allJoyn, or codeGeneration. Yes

Child elements

None.

Parent elements

Parent element Description
Capabilities Declares the access to protected user resources that the package requires.

Remarks

The App capability declarations topic describes the capability values.

Examples

Here's an example of a Capabilities node.

<Capabilities>
    <Capability Name="internetClient"/>
    <Capability Name="internetClientServer"/>
    <Capability Name="privateNetworkClientServer"/>
    <Capability Name="allJoyn"/>
    <uap:Capability Name="documentsLibrary"/>
    <uap:Capability Name="picturesLibrary"/>
    <uap:Capability Name="videosLibrary"/>
    <uap:Capability Name="musicLibrary"/>
    <uap:Capability Name="enterpriseAuthentication"/>
    <uap:Capability Name="sharedUserCertificates"/>
    <uap:Capability Name="userAccountInformation"/>
    <uap:Capability Name="removableStorage"/>
    <uap:Capability Name="appointments"/>
    <uap:Capability Name="contacts"/>
    <uap:Capability Name="phoneCall"/>
    <uap:Capability Name="blockedChatMessages"/>
    <uap:Capability Name="objects3D"/>
</Capabilities>

See also

App capability declarations

Guidelines for app settings

Requirements

Value
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10