The HttpTransportSecurity class enables you to get and configure transport security settings for a WCF or Web service that uses BasicHttpBinding or wsHttpBinding bindings.
HttpTransportSecurity property | Type | Description |
---|---|---|
Realm | String | Gets or sets the authentication realm for digest or basic authentication. The authentication realm string must include the name of the host performing the authentication, and can also list the collection of users with access permissions. |
ClientCredentialType | HttpClientCredentialType (enumeration) | Specifies the credential type for HTTP client authentication. Values are: None (default), Basic, Digest, NTLM, Windows, and Certificate. |