<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegNormalKeyInstallToFile |
The WLRegNormalKeyInstallToFile 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 WLRegNormalKeyInstallToFile( const char* pTextKey); |
function WLRegNormalKeyInstallToFile( pTextKey:PAnsiChar ):Boolean; stdcall; |
Public Declare Function WLRegNormalKeyInstallToFile Lib "WinLicenseSDK.dll" ( ByVal pTextKey As String ) As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegNormalKeyInstallToFile(string TextKey);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegNormalKeyInstallToFile(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
WLRegNormalKeyInstallToRegistry, WLRegNormalKeyCheck, WLGenLicenseTextKey