<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegNetInstancesGet |
The WLRegNetInstancesGet function retrieves the current number of instances running in a network.
int WLRegNetInstancesGet(void); |
function WLRegNetInstancesGet():Integer; stdcall; |
Public Declare Function WLRegNetInstancesGet Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegNetInstancesGet();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegNetInstancesGet() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of of instances running in a network.
Restrictions
If the application is registered with a license with no network instances limit, the return value is zero.
If the application is registered with a license with network instances limit and a firewall is blocking the network communication for the protected application, the return value is zero.