共用方式為


SoftwareInfo XML Example

The following XML document uses the SoftwareInfo XML schema to specify the application information for the device that is specified within a metadata package.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<SoftwareInfo xmlns="https://schemas.microsoft.com/windows/2010/08/DeviceMetadata/SoftwareInfo">

<DeviceCompanionApplications>
    <Package>
        <Identity Name="64022FABRIKAM.FabrikamDeviceApp" 
    Publisher="CN=05558413-FFF6-4AA5-8176-AD43036533FA" />
        <Applications>
            <Application Id="DeviceAppForPrinters">
                  <DeviceNotificationHandlers>
          <DeviceNotificationHandler
            EventID="PrintNotificationHandler"
            EventAsset="Fabrikam.Printing.PrintApp.PrintNotificationHandler" />
      </DeviceNotificationHandlers>
            </Application>
  </Applications>
    </Package>
</DeviceCompanionApplications>

<PrivilegedApplications>
    <Package>
          <Identity Name="64022FABRIKAM.FabrikamDeviceApp" 
              Publisher="CN=05558413-FFF6-4AA5-8176-AD43036533FA"
              AccessCustomDriver="false" />  
 </Package>
</PrivilegedApplications></SoftwareInfo>

 

 

Send comments about this topic to Microsoft