The MediaServer.MaxLicensedClients property returns a Long value specifying the maximum number of viewers licensed to use this server.
Syntax
MediaServer.MaxLicensedClients