Description

This function will return number of currently active network seats.

Availability

Protection method: NETWORK
Application status: All
Required features: None

Declaration

Visual C/C++
extern "C" __declspec(dllimport) int __stdcall CountActiveNetworkSeats();
Visual Basic
Declare Function CountActiveNetworkSeats Lib "pcgint.dll" Alias "_CountActiveNetworkSeats@0" () As Long
Delphi
function CountActiveNetworkSeats():longint;stdcall; external 'pcgint.dll' name '_CountActiveNetworkSeats@0';
Delphi 64bit
function CountActiveNetworkSeats(): Int64; stdcall; external 'pcgint64.dll';

Parameters

None

Return values

Function will return number of currently active network seats.

Zero (0) is returned in case NETWORK protection method is not enabled.