C-DEngine 5.105

TheActivationRequestKeyManager..::..ParseActivationRequestKey Method

Retrieves information from a token generated using the GetActivationRequestKey method. Typically used by a cdeEngine applicationId owner to generate activation keys.

Namespace:  nsCDEngine.ActivationKey
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool ParseActivationRequestKey(
	string activationRequestKey,
	out DateTime creationTime,
	out uint skuId,
	out Guid deviceId
)
Public Shared Function ParseActivationRequestKey ( _
	activationRequestKey As String, _
	<OutAttribute> ByRef creationTime As DateTime, _
	<OutAttribute> ByRef skuId As UInteger, _
	<OutAttribute> ByRef deviceId As Guid _
) As Boolean
public:
static bool^ ParseActivationRequestKey(
	String^ activationRequestKey, 
	[OutAttribute] DateTime^% creationTime, 
	[OutAttribute] unsigned int^% skuId, 
	[OutAttribute] Guid^% deviceId
)

Parameters

activationRequestKey
Type: String
The token obtained from GetActivationRequestKey.
creationTime
Type: DateTime%
The time when the token was created (local machine time, truncated to 10 minute boundary)
skuId
Type: UInt32%
Application owner-defined SKU identifier, that is typically used to identify the set of licenses to included in the activation key.
deviceId
Type: Guid%
NodeId of the node where the activationRequestKey was generated. The activation key is typically bound to this node id.

Return Value