Share via


Windows Media Player 11 SDK Network.bandWidth 

Windows Media Player SDK banner art

Previous Next

Network.bandWidth

The bandWidth property retrieves the current bandwidth of the clip.

Syntax

  
    
  

Possible Values

This property is a read-only Number (long).

Remarks

This property returns zero if the Player**.URL** property is not set. This property is only valid for streaming media.

Example Code

The following Microsoft JScript example uses Network.bandWidth to display the current media bandwidth. The information is displayed in an HTML DIV created with ID = "BW". The Player object was created with ID = "Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next