Share via


Windows Media Player 11 SDK Network.setProxyBypassForLocal 

Windows Media Player SDK banner art

Previous Next

Network.setProxyBypassForLocal

The setProxyBypassForLocal method specifies a value indicating whether the proxy server is bypassed if the origin server is on a local network.

Syntax

  

Parameters

protocol

String specifying the protocol name. For a list of supported protocols, see Supported Protocols and File Types.

bypass

Boolean specifying whether the proxy server is bypassed.

Return Values

This method does not return a value.

Remarks

This method has no effect unless getProxySettings returns a value of 2 (use manual settings).

This method fails unless the calling application is running on the local computer or intranet.

Windows Media Player 10 Mobile: This method is not supported.

Example Code

The following JScript example uses Network.setProxyBypassForLocal to specify whether the Windows Media Player proxy server is bypassed, when using the MMS protocol, if the origin server is on a local network. 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