Edit

Share via


HttpTransportSecurity.Realm Property

Definition

Gets or sets the authentication realm for digest or basic authentication.

public:
 property System::String ^ Realm { System::String ^ get(); void set(System::String ^ value); };
public string Realm { get; set; }
member this.Realm : string with get, set
Public Property Realm As String

Property Value

The authentication realm. The default value is "".

Remarks

An authentication realm is a string that contains at least the name of the host performing the authentication and can additionally indicate the collection of users who might have access. An example might be "[email protected]". The authentication realm is displayed to a user to show which one of several possible user names and passwords can be used.

Applies to