WebCredentials Class

Definition

Wraps an instance of a T:System.Net.NetworkCredential

public ref class WebCredentials sealed : Microsoft::Exchange::WebServices::Data::ExchangeCredentials
public sealed class WebCredentials : Microsoft.Exchange.WebServices.Data.ExchangeCredentials
Public NotInheritable Class WebCredentials
Inherits ExchangeCredentials
Inheritance
WebCredentials

Constructors

WebCredentials()

Initializes a new instance of the WebCredentials class to use the default network credentials.

WebCredentials(ICredentials)

Initializes a new instance of the WebCredentials class with the specified credentials.

WebCredentials(String, String)

nitializes a new instance of the WebCredentials class with the user name and password for the account to authenticate.

WebCredentials(String, String, String)

Initializes a new instance of the WebCredentials class with the user name, password, and domain for the account to authenticate.

Properties

Credentials

Gets the credentials of the account to authenticate.

Applies to