HttpCookie.Version Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the version of the protocol this cookie complies with. -or- Sets the version of the cookie protocol this cookie complies with.
public int Version { [Android.Runtime.Register("getVersion", "()I", "")] get; [Android.Runtime.Register("setVersion", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getVersion", "()I", "")>]
[<set: Android.Runtime.Register("setVersion", "(I)V", "")>]
member this.Version : int with get, set
Property Value
0 if the cookie complies with the original Netscape specification; 1 if the cookie complies with RFC 2965/2109
- Attributes
Exceptions
if v is neither 0 nor 1
if v is neither 0 nor 1
if v is neither 0 nor 1
if v is neither 0 nor 1
if v is neither 0 nor 1
if v is neither 0 nor 1
Remarks
Property getter documentation:
Java documentation for java.net.HttpCookie.getVersion().
Property setter documentation:
Java documentation for java.net.HttpCookie.setVersion(int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.