Export (0) Print
Expand All

ClientBase<TChannel>.ClientCredentials Property

Gets the client credentials used to call an operation.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public ClientCredentials ClientCredentials { get; }

Property Value

Type: System.ServiceModel.Description.ClientCredentials
A ClientCredentials object that represents the proof of identity presented by the client.

Hosting both a secure and a non-secure duplex service on same domain presents a security risk. If you have two duplex channels to the same domain, one with credentials and one without, the credentials may be sent to the duplex channel that does not require credentials. This may leak credentials to someone who's not supposed to have them. So it is recommended that you do not host secure and non-secure duplex services on the same domain.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft