<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Miscellaneous Functions > WLCheckVirtualPC |
The WLCheckVirtualPC function allows you to check if a protected application is running under a Virtual Machine environment (VMWare, VirtualPC, VirtualBox...)
bool WLCheckVirtualPC (void); |
function WLCheckVirtualPC():Boolean; stdcall |
Public Declare Function WLCheckVirtualPC Lib "WinLicenseSDK.dll" () As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLCheckVirtualPC();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLCheckVirtualPC() As Boolean End Function |
Parameters
This function has no parameters.
Return Values
If the protected application is running under a Virtual Machine environment, the return value is True.
If the protected application is not running under a Virtual Machine environment, the return value is False.