Share via


IWMSProxyContext.GetCredentials (C#)

banner art

Previous Next

IWMSProxyContext.GetCredentials (C#)

The GetCredentials method retrieves a user name and password that can be used to respond to the security challenge 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.

bstrRealm

string containing the realm. A realm is a logical grouping of resources used in authentication. User name-password pairs are associated with realms to allow the same authorization information to be used for multiple resources.

bstrUrl

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

pbstrName

Reference to a string that contains a user name that can be sent in response to the upstream proxy server's security challenge.

pbstrPassword

Reference to a string that contains a password that can be sent in response to the upstream proxy server's security challenge.

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