<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegGetLicenseInfo |
The WLRegGetLicenseInfo function retrieves the registration information for the current license.
bool WLRegGetLicenseInfo( char* pName, char* pCompanyName, char* pCustomData ); |
function WLRegGetLicenseInfo( pName:PAnsiChar; pCompanyName:PAnsiChar; pCustomData:PAnsiChar ):Boolean; stdcall; |
Public Declare Function WLRegGetLicenseInfo Lib "WinLicenseSDK.dll" ( ByVal pName As String, ByVal pCompanyName As String, ByVal pCustomData As String ) As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegGetLicenseInfo(StringBuilder Name, StringBuilder CompanyName, StringBuilder CustomData);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegGetLicenseInfo(Name As StringBuilder, CompanyName As StringBuilder, CustomData As StringBuilder) As Boolean End Function |
Parameters
pName
[out] Pointer to a string that will receive the registration name in the current license key.
pCompanyName
[out] Pointer to a string that will receive the company name in the current license key.
pCustomData
[out] Pointer to a string that will receive the custom data in the current license key.
Return Values
If the function succeeds, the return value is True.
If the function fails, the return value is False.
See Also