dotNet Protector API

ActivationManager.GetUsbConfig Method (UInt32, UInt16, UInt64, UInt64)

Builds an ActivationString from Current Hardware Config and software given by calling assembly.

[Visual Basic]
Overloads Public Shared Function GetUsbConfig( _
   ByVal LicenseID As UInt32, _
   ByVal ActivationDuration As UInt16, _
   ByVal UsbHash As UInt64, _
   ByVal UsbIdentity As UInt64 _
) As String
[C#]
public static string GetUsbConfig(
   uint LicenseID,
   ushort ActivationDuration,
   ulong UsbHash,
   ulong UsbIdentity
);

Parameters

LicenseID
32 bit number to identify license.
ActivationDuration
Validity of activation (in days). 0 means infinite, maximum value is 2000
UsbHash
UsbHash given by UsbDetector
UsbIdentity
UsbIdentity given by UsbDetector

Return Value

A secure config string for USB activation.

See Also

ActivationManager Class | PvLogiciels.dotNetProtector Namespace | ActivationManager.GetUsbConfig Overload List

Send comments about this topic to PV Logiciels