<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegNormalKeyInstallToFileW |
The WLRegNormalKeyInstallToFileW installs a license text key into a file. When this function is called, a license file (selected in the Winlicense user interface) will be created. This license file will be able to register the application the next time that is started.
bool WLRegNormalKeyInstallToFileW( const wchar_t* pTextKey); |
function WLRegNormalKeyInstallToFile( pTextKey:PWideChar ):Boolean; stdcall; |
[C#] [DllImport(WINLICENSE_SDK_DLL, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegNormalKeyInstallToFileW(string TextKey);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegNormalKeyInstallToFileW(TextKey As String) As Boolean End Function |
Parameters
pTextKey
[in] Pointer to a null-terminated string that specifies the text key to install into a license file.
The name of the license file can be set up in the Winlicense user interface.
Return Values
If the function succeeds, the return value is True.
If the function fails, the return value is False.
See Also
WLRegNormalKeyInstallToRegistryW, WLRegNormalKeyCheckW, WLGenLicenseTextKey