ClientCredentials Property
Collapse the table of content
Expand the table of content

ClientBase(Of TChannel).ClientCredentials Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the client credentials used to call an operation.

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

'Declaration
Public ReadOnly Property ClientCredentials As ClientCredentials

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft