IWMSProxyContext.FindProxyForURL (Visual Basic .NET)

The FindProxyForURL method retrieves the name and port number of an upstream proxy server. This method is called by the server and implemented by the plug-in.

IWMSProxyContext.FindProxyForURL(  pUserContext As IWMSContext,
  bstrUrl As String,
  ByRef pbstrProxyServer As String,
  ByRef pdwProxyPort As UInt32
)

Arguments

IWMSContextIWMSContext Object (Visual Basic .NET) containing the User Context.

String containing the URL of the requested content on an upstream server.

Reference to a String that contains the name of the proxy server that must be used to contact the origin server.

Reference to a UInt32 that contains the port number of the upstream proxy server. This port must be appropriate for the protocol identified by the bstrProtocol parameter.

Return Value

This method does not return a value.

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Concepts

IWMSProxyContext Object (Visual Basic .NET)