标识(SoftwareInfo - 特权应用程序)
MBAE 弃用警告
重要
从 Windows 10 版本 1803 开始,MBAE 应用程序体验将被 MO UWP 应用程序取代。 有关 MO UWP 应用程序的详细信息,请参阅 UWP 移动宽带应用程序。
Identity 元素指定应用程序的发布者标识和应用程序清单名称。
用法
<Identity Name=”tns:AsciiIdentifierType” Publisher=”tns:DistinguishedNameType” AccessCustomDriver=”xs:boolean” />
属性
属性 | 类型 | 必需 | 说明 |
---|---|---|---|
Name |
tns:AsciiIdentifierType |
是 |
应用程序清单文件中指定的应用程序名称。 |
发布者 |
tns:DistinguishedNameType |
是 |
应用程序的发布者标识。 |
AccessCustomDriver |
xs:boolean |
否 |
如果应用程序应有权访问自定义驱动程序,请将此值设置为 true。 |
子元素
没有子元素。
父元素
元素 | 说明 |
---|---|
指定应有权访问特权移动宽带接口的应用程序。 |
XSD
<xs:element name="Identity" type="tns:IdentityForPrivilegedApplicationsType" />
<xs:complexType name="IdentityForPrivilegedApplicationsType">
<xs:attribute name="Name" type="tns:PackageNameType" use="required"/>
<xs:attribute name="Publisher" type="tns:PublisherType" use="required"/>
<xs:attribute name="AccessCustomDriver" type="xs:boolean" />
</xs:complexType>
<xs:simpleType name="PackageNameType">
<xs:restriction base="tns:AsciiIdentifierType">
<xs:minLength value="3"/>
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PublisherType">
<xs:restriction base="tns:DistinguishedNameType">
<xs:maxLength value="8192"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AsciiIdentifierType">
<xs:restriction base="tns:AllowedAsciiCharSetType">
<xs:pattern value="[^_ ]+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DistinguishedNameType">
<xs:restriction base="tns:NonEmptyStringType">
<xs:pattern value="(CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NonEmptyStringType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="32767"/>
<xs:pattern value="[^\s]|([^\s].*[^\s])"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AllowedAsciiCharSetType">
<xs:restriction base="tns:NonEmptyStringType">
<xs:pattern value="[-_. A-Za-z0-9]+"/>
</xs:restriction>
</xs:simpleType>
备注
Identity 元素是可选的。