IWMSIncomingCounters.AddIncomingData (C#)

banner art

Previous Next

IWMSIncomingCounters.AddIncomingData (C#)

The AddIncomingData method allows the server to keep track of data received from an incoming client connection.

Syntax

  

Parameters

dwDataLen

[in] UInt32 indicating the amount of data to be added.

Return Values

This method does not return a value.

Remarks

The server can check that the current incoming bandwidth does not exceed the limit specified by the IWMSServerLimits.IncomingBandwidth property and update the IWMSServerCurrentCounters.IncomingBandwidth counter if the limit is not exceeded. This will never cause the server to decrement the IncomingBandwidth counter below the value that was allocated for the client by the IWMSIncomingCounters.AllocateRequestedBandwidth method. The AddIncomingData method should be called every time that a data source plug-in receives data from the network.

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Previous Next