Windows Media Player 11 SDK IWMPNetwork Interface (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPNetwork Interface (VB and C#)

Provides properties and methods to access statistics relating to the quality of a network connection, and to specify and retrieve the network proxy settings.

The IWMPNetwork interface exposes the following properties.

Property Description
bandWidth Gets the current bandwidth of the media item.
bitRate Gets the current bit rate being received.
bufferingCount Gets the number of times buffering occurred during playback.
bufferingProgress Gets the percentage of buffering completed.
bufferingTime Gets or sets the amount of buffering time in milliseconds before playback begins.
downloadProgress Gets the percentage of downloading completed.
encodedFrameRate Gets the video frame rate specified by the content author.
frameRate Gets the current video frame rate.
framesSkipped Gets the total number of frames skipped during playback.
lostPackets Gets the number of packets lost.
maxBandwidth Gets or sets the maximum allowed bandwidth.
maxBitRate Gets the maximum possible video bit rate.
receivedPackets Gets the number of packets received.
receptionQuality Gets the percentage of packets not lost in the last 30 seconds.
recoveredPackets Gets the number of recovered packets.
sourceProtocol Gets the source protocol used to receive data.

The IWMPNetwork interface exposes the following methods.

Method Description
getProxyBypassForLocal Returns a value indicating whether the proxy server is bypassed if the origin server is on a local network.
getProxyExceptionList Returns the proxy exception list.
getProxyName Returns the name of the proxy server being used.
getProxyPort Returns the proxy port being used.
getProxySettings Returns information about the proxy settings for a protocol.
setProxyBypassForLocal Specifies whether the proxy server is bypassed if the origin server is on a local network.
setProxyExceptionList Specifies the proxy exception list.
setProxyName Specifies the name of the proxy server to use.
setProxyPort Specifies the proxy port to use.
setProxySettings Specifies the proxy settings for a protocol.

Get an IWMPNetwork interface by using the following property.

Object Property
AxWindowsMediaPlayer network

See Also

Previous Next