Windows Media Player SDK banner art
PreviousNext

Network.setProxySettings

The setProxySettings method specifies the proxy setting for a given protocol.

Syntax

player.network.setProxySettings(protocol, setting)

Parameters

  protocol

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

Value Description
HTTP Hypertext Transfer Protocol
MMS Microsoft Media Services

  setting

Number (long) containing one of the following values.

Value Description
0 Do not use a proxy server.
1 Use the proxy settings of the current browser (only valid for HTTP).
2 Use the manually specified proxy settings.
3 Auto-detect the proxy settings.

Return Values

This method does not return a value.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.