diff --git a/websocket-sharp/Net/HttpListener.cs b/websocket-sharp/Net/HttpListener.cs index e6edc673..07d02a5c 100644 --- a/websocket-sharp/Net/HttpListener.cs +++ b/websocket-sharp/Net/HttpListener.cs @@ -315,9 +315,13 @@ namespace WebSocketSharp.Net /// /// Gets or sets the name of the realm associated with the listener. /// + /// + /// If this property is or empty, "SECRET AREA" will be used as + /// the name of the realm. + /// /// /// A that represents the name of the realm. The default value is - /// "SECRET AREA". + /// . /// /// /// This listener has been closed. @@ -325,7 +329,7 @@ namespace WebSocketSharp.Net public string Realm { get { CheckDisposed (); - return _realm != null && _realm.Length > 0 ? _realm : (_realm = "SECRET AREA"); + return _realm; } set {