Share via


Windows Media Player 11 SDK Network.getProxyBypassForLocal 

Windows Media Player SDK banner art

Previous Next

Network.getProxyBypassForLocal

The getProxyBypassForLocal method retrieves 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.

Return Values

This method returns a Boolean indicating whether the proxy server is bypassed. The value returned is meaningful only when getProxySettings returns a value of two (use manual settings).

Remarks

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.getProxyBypassForLocal to display whether Windows Media Player is set to bypass the proxy server for local addresses. 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