Realm Property

HttpTransportBindingElement.Realm Property


Gets or sets the authentication realm.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public string Realm { get; set; }

Property Value

Type: System.String

The authentication realm. The default value is "".

Servers use realms to partition protected resources; each partition can have its own authentication scheme or authorization database. Realms are used only for basic and digest authentication. After a client successfully authenticates, the authentication is valid for all resources in a given realm. For a detailed description of realms, see RFC 2617.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft