GetLicenseCodeW |
Top Previous Next |
This function retrieves the license code, which is specified during registration process. Unicode version.
static void GetLicenseCodeW(OUT wchar_t* pwcsLicense, IN int iMaxLength);
Parameters
wchar_t* pwcsLicense - This is a buffer for the license code.
Return value
Returns nothing. The output parameter (pwcsLicense) will get the license code.
Requirements
Header: IntelliProtector.h
Example
using namespace IntelliProtectorService; // ...
void ShowLicenseCode() { const int ciBufferLen = 256; wchar_t wcsLicense[ciBufferLen] = {0, }; CIntelliProtector::GetLicenseCodeW(wcsLicense, ciBufferLen); AfxMessageBox(wcsLicense); }
|
Copyright © 2015 IntelliProtector.com |