Click or drag to resize

CookieParserTryParse Method

Attempts to parse the given cookie

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public static bool TryParse(
	string value,
	string domain,
	out Cookie cookie
)

Parameters

value
Type: SystemString
The value to parse.
domain
Type: SystemString
The cookie domain.
cookie
Type: System.NetCookie
Stores the cookie on success.

Return Value

Type: Boolean
true, if the cookie was parsed, false otherwise.
See Also