ClientBase<TChannel>.ClientCredentials Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets the client credentials used to call an operation.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public ReadOnly Property ClientCredentials As ClientCredentials
public ClientCredentials ClientCredentials { get; }
Property Value
Type: System.ServiceModel.Description.ClientCredentials
A ClientCredentials object that represents the proof of identity presented by the client.
Remarks
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.
Version Information
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
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.