Sdílet prostřednictvím


Issuance License XML Examples

[The AD RMS SDK leveraging functionality exposed by the client in Msdrm.dll is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions. Instead, use Active Directory Rights Management Services SDK 2.1, which leverages functionality exposed by the client in Msipc.dll.]

You can sign an issuance license online, by using the certification service on an Active Directory Rights Management Services (AD RMS) server, or you can sign the license offline by using the client licensor certificate in the license store. Because the client licensor certificate is typically downloaded only once, offline signing reduces server connections. The following two XML examples show the license structure:

Creating and Using Issuance Licenses

Offline Signing Code Example

Online Signing Code Example