4.3 DRM Version 7 License Request Example

The following example shows a sample WMDRM: License Protocol version 7 license request that contains all of the required elements. The fields might not contain complete data. For a complete description of an element, see the respective element topic.

 <LICENSEREQUEST version="2.0.0.0">
   <V1CHALLENGE>
   
   <!--  DRMv1 challenge with empty KEYID string -->
   
   </V1CHALLENGE>
   <ACTIONLIST>
   
   <!--  Application is requesting the right to play the content. --> 
   <!--  More than one right can be requested. -->
   
     <ACTION>Play</ACTION>
   </ACTIONLIST>
   
   <!-- Information about the client that is
        requesting the license. -->
   <CLIENTINFO>
     <CLIENTID>
     <!-- Client ID structure -->
     </CLIENTID>
  
     <!-- Version of the DRMv7 client -->
     <CLIENTVERSION>9.00.00.2778</CLIENTVERSION>
  
     <!-- Application security of client application -->
     <APPSECURITY>2000</APPSECURITY>
  
     <!-- Certificate subject ID of the component
          that is talking to DRM -->
     <SUBJECTID1>212</SUBJECTID1>
  
     <!-- Certificate subject ID of the component
          that is talking to the component-->
     <!-- talking to DRM. -->
     <SUBJECTID2>1107</SUBJECTID2>
  
     <!-- Version of Kernel Mode DRM on the client computer -->
     <DRMKVERSION>2.2.0.0</DRMKVERSION>
   </CLIENTINFO>
  
   
   <!-- WMRMHEADER section, verbatim from the header of the content -->
   
   <WMRMHEADER version="2.0.0.0">
     <DATA>
   
     </DATA>
     <SIGNATURE>
     
     </SIGNATURE>
   </WMRMHEADER>
  
 </LICENSEREQUEST>