<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegGetDynSmartKey |
The WLRegGetDynSmartKey retrieves the Dynamic SmartActivate key that was inserted by the customer to register a protected application.
bool WLRegGetDynSmartKey ( char* pDynSmartKey); |
function WLRegGetDynSmartKey ( pDynSmartKey:PAnsiChar ):Boolean; stdcall; |
Public Declare Function WLRegGetDynSmartKey Lib "WinLicenseSDK.dll" ( ByVal pDynSmartKey As String ) As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegGetDynSmartKey(StringBuilder DynSmartKey);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegGetDynSmartKey(ByRef DynSmartKey As String) As Boolean End Function |
Parameters
pDynSmartKey
[out] Pointer to a buffer that receives the registration Dynamic SmartActivate key.
Return Values
If the current license was registered with a Dynamic SmartActivate key, the return value is True.
If the current license was not registered with a Dynamic SmartActivate key, the return value is False.