Mac Guides | Samples

MonoMac.Foundation.NSHttpCookie Constructor

Create a new cookie with the supplied name, value and path.

Syntax

public NSHttpCookie (String name, String value, String path)

Parameters

name
Cookie's name. Cannot be null.
value
Cookie's value. Cannot be null.
path
Path where the cookie will be applied on the domain. Using "/" will send the cookie to every URL on the domain.

Remarks

A default Domain will be used to ensure a valid instance is created

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0