<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Miscellaneous Functions > WLProtectCheckCodeIntegrity |
The WLProtectCheckCodeIntegrity checks if the code section of your protected application has been patched in runtime. This function is equivalent to the CHECK_CODE_INTEGRITY macro.
bool WLProtectCheckCodeIntegrity(); |
function WLProtectCheckCodeIntegrity():Boolean; |
Public Declare Function WLProtectCheckCodeIntegrity Lib "WinLicenseSDK.dll" () As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLProtectCheckCodeIntegrity();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLProtectCheckCodeIntegrity() As Boolean End Function |
Parameters
This function has no parameters.
Return Values
If the protected application code is patched, the return value is True.
If the protected application code is not patched, the return value is False.