CookieUtility.ToSetCookieHeaderValue method

Returns a String representing the specified cookie, in the format prescribed by RFC 2965 for the Set-Cookie HTTP header value.

public static string ToSetCookieHeaderValue(this Cookie cookie)
parameter description
cookie The cookie.

Return Value

A string in the Set-Cookie HTTP header format.

See Also