diff --git a/websocket-sharp/Net/AuthenticationResponse.cs b/websocket-sharp/Net/AuthenticationResponse.cs index cc49b372..0257d85b 100644 --- a/websocket-sharp/Net/AuthenticationResponse.cs +++ b/websocket-sharp/Net/AuthenticationResponse.cs @@ -75,7 +75,7 @@ namespace WebSocketSharp.Net uint nonceCount) : base (scheme, parameters) { - Parameters["username"] = credentials.UserName; + Parameters["username"] = credentials.Username; Parameters["password"] = credentials.Password; Parameters["uri"] = credentials.Domain; _nonceCount = nonceCount; diff --git a/websocket-sharp/Net/NetworkCredential.cs b/websocket-sharp/Net/NetworkCredential.cs index 73bd0b30..357ade49 100644 --- a/websocket-sharp/Net/NetworkCredential.cs +++ b/websocket-sharp/Net/NetworkCredential.cs @@ -194,7 +194,7 @@ namespace WebSocketSharp.Net /// /// A that represents the username. /// - public string UserName { + public string Username { get { return _username; }