Windows Media Player SDK banner art
PreviousNext

Network.getProxySettings

The getProxySettings method retrieves the proxy setting for a given protocol.

Syntax

player.network.getProxySettings(protocol)

Parameters

  protocol

String specifying the protocol name. Contains one of the following values.

Value Description
HTTP Hypertext Transfer Protocol
MMS Microsoft Media Services

Return Values

This method returns a Number (long) containing one of the following values.

Value Description
0 A proxy server is not being used.
1 The proxy settings for the current browser are being used (only valid for HTTP).
2 The manually specified proxy settings are being used.
3 The proxy settings are being auto-detected.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.