This documentation is archived and is not being maintained.

ClientCredentials Constructor

Initializes a new instance of the ClientCredentials class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Supported by the .NET Compact Framework ClientCredentials() Initializes a new instance of the ClientCredentials class.
Protected method ClientCredentials(ClientCredentials) This is a copy constructor.

The most common way to use this class is to access its properties from the client object and not to instantiate it directly. The following code shows how to do this.

WSHttpBinding b = new WSHttpBinding();
EndpointAddress ea = new EndpointAddress("http://localhost/Calculator");
CalculatorClient client = new CalculatorClient(b, ea);
IssuedTokenClientCredential itcc = client.ClientCredentials.IssuedToken;

itcc.LocalIssuerAddress = new EndpointAddress("");