Share via


Windows Media Player 11 SDK Network.sourceProtocol 

Windows Media Player SDK banner art

Previous Next

Network.sourceProtocol

The sourceProtocol property retrieves the source protocol used to receive data.

Syntax

  
    
  

Possible Values

This property is a read-only String.

Remarks

This property is set to "" (empty string) when playing media from a CD or DVD.

Example Code

The following JScript example uses Network.sourceProtocol to display the source protocol used to receive data. The information is displayed in an HTML DIV created with ID = "SP". 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