<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegRemoveCurrentKey |
The WLRegRemoveCurrentKey function removes the current license key from the system. This function deletes the current license from the system (file or registry license), making an application not to be registered the next time that is executed. Notice that this function will not block the current license.
bool WLRegRemoveCurrentKey(void); |
function WLRegRemoveCurrentKey():Boolean; stdcall; |
Public Declare Function WLRegRemoveCurrentKey Lib "WinLicenseSDK.dll" () As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegRemoveCurrentKey();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegRemoveCurrentKey() As Boolean End Function |
Parameters
This function has no parameters.
Return Values
If the function succeeds, the return value is True.
If the function fails, the return value is False.
See Also