dotNet Protector API

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

Builds an ActivationString from Current Usb Config and software given by AssemblyFile.

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

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
AssemblyFile
Assembly to build the config for

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