Realm Property
Collapse the table of content
Expand the table of content

HttpTransportSecurity.Realm Property

 

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

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

public string Realm { get; set; }

Property Value

Type: System.String

The authentication realm. The default value is "".

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 "registered_someone@example.com". The authentication realm is displayed to a user to show which one of several possible user names and passwords can be used.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft