<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegGetLicenseInfoW |
The WLRegGetLicenseInfoW function retrieves the registration information (in UNICODE) for the current license.
bool WLRegGetLicenseInfoW( wchar_t* pName, wchar_t* pCompanyName, wchar_t* pCustomData ); |
function WLRegGetLicenseInfoW( pName:PWideChar; pCompanyName:PWideChar; pCustomData:PWideChar ):Boolean; stdcall; |
[C#] [DllImport(WINLICENSE_SDK_DLL, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegGetLicenseInfoW(StringBuilder Name, StringBuilder CompanyName, StringBuilder CustomData);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegGetLicenseInfoW(ByRef Name As String, ByRef CompanyName As String, ByRef CustomData As String) 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