The HttpDigestCredential class provides credential information that allows a WCF client to use a proxy server, or connect to a WCF or Web service that requires digest authentication.
Invoke objects of the HttpDigestCredential class from the HttpDigest property of WCFClientCredential class objects.
| HttpDigestCredential property | Type | Description |
|---|---|---|
| UserName | UserNameCredential (class) | Specifies the user name, password, and domain of the client. |
| AllowImpersonationLevel | ImpersonationLevel (enumeration) | Determines the impersonation level of the WCF client. Values are: None (default), Anonymous, Identification, Impersonation, and Delegation. |