Share via


Sample WindowsInfo Data

Important

Device metadata is deprecated and will be removed in a future release of Windows. For information about the replacement for this functionality, see Driver Package Container Metadata.

The following data shows the contents of an XML document in the format of the WindowsInfo XML schema.

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <WindowsInfo xmlns="https://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/" xmlns:v2="https://schemas.microsoft.com/windows/2010/08/DeviceMetadata/WindowsInfov2">
      <ShowDeviceInDisconnectedState>true</ShowDeviceInDisconnectedState>
      <LaunchDeviceStageOnDeviceConnect>false</LaunchDeviceStageOnDeviceConnect>
      <LaunchDeviceStageFromExplorer>false</LaunchDeviceStageFromExplorer>
      <v2:LaunchApplicationOnDeviceConnect>
        <v2: AutoplayHandler>
            <v2:PackageIdentity Name="64022FABRIKAM.FabrikamDeviceApp" 
             Publisher="CN=05558413-FFF6-4AA5-8176-AD43036533FA" />
            <v2:Application Id="HelloWorld.Web.Application" />
          <v2:Verb>testtesttest</v2:Verb>
          <v2:AutoplayType>Device</v2:AutoplayType>
        </v2: AutoplayHandler>
      </v2:LaunchApplicationOnDeviceConnect>
      <v2:EnableAutoPlayForRegisteredApps>true</v2:EnableAutoPlayForRegisteredApps>
    </WindowsInfo>