Share via


WMRMLicenseRevocationAcknowledger.Acknowledgement

banner art

Previous Next

WMRMLicenseRevocationAcknowledger.Acknowledgement

The Acknowledgement property specifies and retrieves the acknowledgement information from the client.

Syntax

  String = WMRMLicenseRevocationAcknowledger.Acknowledgement
WMRMLicenseRevocationAcknowledger.Acknowledgement = String

Parameters

This property takes no parameters.

Return Values

If the property succeeds, it returns a String containing the acknowledgement from the client. If it fails, it returns a number in the error object.

Remarks

This acknowledgement string confirms that the licenses specified in the license revocation response were revoked from the client computer.

Example Code

'"""""""""""""""""""""""""""""""""""""""""""""""""""""
' Declare variables.
'"""""""""""""""""""""""""""""""""""""""""""""""""""""
Dim LRAcknowledgeObj     ' WMRMLicenseRevocationAcknowledger object
Dim LRAckString          ' License revocation acknowledgement string
Dim AckTransID           ' Transaction ID in the acknowledgement string
Dim ClientPubkey         ' Public key of the client computer

'"""""""""""""""""""""""""""""""""""""""""""""""""""""
' Process the license revocation acknowledgement.
'"""""""""""""""""""""""""""""""""""""""""""""""""""""
LRAckString = "<Replace this with the license license revocation acknowledgement string>"
Set LRAcknowledgeObj = Server.CreateObject("WMRMObjs.WMRMLicenseRevocationAcknowledger")
LRAcknowledgeObj.Acknowledgement = LRAckString
AckTransID = LRAcknowledgeObj.GetTransactionId()

' Verify the signature on the string. This method fails if the signature is not valid.
' ClientPubkey was already retrieved from the license revocation challenge.
LRAcknowledgeObj.Verify(ClientPubkey)

Requirements

Version: Windows Media Rights Manager 10 SDK or later

Reference: wmrmobjs 1.0 Type Library

Library: wmrmobjs.dll

Platform: Windows Server 2003

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.