Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Properties

availableSessions Property

Scroll Prev Top Next More

 

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

 

Inventu Viewer+

 

See Also

 

sessionLicenses

 

Applies To: HostConnection object

 


© 2022 Inventu Corporation