Enumerates the valid credential types for HTTP clients.
Public Enumeration HttpClientCredentialType
Dim instance As HttpClientCredentialType
public enum HttpClientCredentialType
public enum class HttpClientCredentialType
This enumeration is used by ClientCredentialType to specify the type of client credential to be used for authentication.
Note that if SecurityMode is set to TransportWithMessageCredential, then the value of HttpClientCredentialType is ignored.
The following code shows how to set ClientCredentialType to a member of this enumeration.
' The code uses a shortcut to specify the security mode to Transport. Dim b As WSHttpBinding = new WSHttpBinding(SecurityMode.Transport) b.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows
// The code uses a shortcut to specify the security mode to Transport. WSHttpBinding b = new WSHttpBinding(SecurityMode.Transport); b.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows;
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC