Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
IMetadataProvider.GetAllowedMaxBandwidth Method

Called by Lightstreamer Kernel through the Remote Server to ask for the bandwidth level to be allowed to a User for a push Session. 

This method runs in the Server authentication thread pool, if defined. 

Edition Note: Bandwidth Control is an optional feature, available depending on Edition and License Type. To know what features are enabled by your license, please see the License tab of the Monitoring Dashboard (by default, available at /dashboard). 

 

C++
double GetAllowedMaxBandwidth(string user);
C#
double GetAllowedMaxBandwidth(string user);
Visual Basic
Function GetAllowedMaxBandwidth(user As string) As double
Parameters 
Description 
string user 
A User name. 

The allowed bandwidth, in Kbit/sec. A zero return value means an unlimited bandwidth.