Gets the current HTTP Digest credential.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property ValueType: System.ServiceModel.Security.HttpDigestClientCredential
A HttpDigestClientCredential that represents the credential that the client uses to authenticate to the service when the HTTP Digest authentication method is chosen.
You can use the object returned by this property to configure the credential by calling the AllowedImpersonationLevel property.
Similarly, you can specify the network credential to use if it is different from the current thread's token.
The following code shows how to use this property to set the credentials user name and password.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.