IWMSProxyContext.FindProxyForURL (C#)
Previous | Next |
IWMSProxyContext.FindProxyForURL (C#)
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.
Syntax
Parameters
pUserContext
IWMSContext object containing the user context.
bstrUrl
string containing the URL of the requested content on an upstream server.
pbstrProxyServer
Reference to a string that contains the name of the proxy server that must be used to contact the origin server.
pdwProxyPort
Reference to a uint that contains the port number of the upstream proxy server. This port must be appropriate for the protocol identified by the bstrProtocol parameter.
Return Values
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
Previous | Next |