WSHttpTransportSecurityElement.Realm Property

Definition

Gets or sets a string that specifies the authentication realm for digest or basic authentication.

[System.Configuration.ConfigurationProperty("realm", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string Realm { get; set; }

Property Value

A string that specifies the authentication realm for digest or basic authentication. The default is an empty string.

Attributes

Remarks

An authentication realm specifies at least the name of the host that performs the authentication. It can also specify a collection of users that has access. A user can query the authentication realm to understand which one of the several possible usernames and passwords can be used.

Applies to

Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1