Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClientCredentials::Windows Property

 

Gets an object used to control the Windows credential that the client uses to authenticate itself to the service.

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

public:
property WindowsClientCredential^ Windows {
	WindowsClientCredential^ get();
}

Property Value

Type: System.ServiceModel.Security::WindowsClientCredential^

A WindowsClientCredential that represents the current Windows credential.

You can use the object returned by this property to configure the Windows credential by calling its members, such as AllowNtlm and AllowedImpersonationLevel.

These settings control the Windows credential used during SPNEGO negotiation at either the message or transport level or the properties of Kerberos tokens used for authentication at the message level.

The following code shows how to use the object returned by this property to configure the impersonation level.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show:
© 2017 Microsoft