diff --git a/websocket-sharp/Net/Cookie.cs b/websocket-sharp/Net/Cookie.cs
index 3d42627a..ca8fb00a 100644
--- a/websocket-sharp/Net/Cookie.cs
+++ b/websocket-sharp/Net/Cookie.cs
@@ -715,7 +715,7 @@ namespace WebSocketSharp.Net
}
///
- /// Gets or sets the value of the Version attribute of the cookie.
+ /// Gets the value of the Version attribute of the cookie.
///
///
///
@@ -723,21 +723,18 @@ namespace WebSocketSharp.Net
/// management that the cookie conforms to.
///
///
- /// 0 or 1.
+ /// 0 or 1. 0 if the cookie has no Version attribute.
///
///
/// The default value is 0.
///
///
- ///
- /// The value specified for a set operation is not allowed.
- ///
public int Version {
get {
return _version;
}
- set {
+ internal set {
if (value < 0 || value > 1) {
var msg = "It is not allowed.";
throw new ArgumentOutOfRangeException ("value", msg);