Flynet Viewer .NET Programmer's Reference

availableSessions Property

availableSessions Property

Previous topic Next topic  

availableSessions Property

Previous topic Next topic  

 

Returns the number of total session licenses available.

 

int HostConnection.availableSessions

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

Remarks

 

READONLY.

 

The following example demonstrates how to use a HostConnection object (oConn) to retrieve license and session information:

 

 HostConnection oConn=new HostConnection();

 int usedSessions, totalSessions, availableSessions;

 

 totalSessions = oConn.sessionLicences;

 availableSessions = oConn.availableSessions;

 usedSessions = oConn.sessionLicences - oConn.availableSessions;

 

Requirements

 

Flynet Viewer

 

See Also

 

sessionLicenses

 

Applies To: HostConnection object

 


© 2016 Inventu Corporation, Flynet LTD