Mac Guides | Samples

MonoMac.Foundation.NSHttpCookie Constructor

Create a new cookie with the supplied name and value.

Syntax

public NSHttpCookie (String name, String value)

Parameters

name
Cookie's name. Cannot be null.
value
Cookie's value. Cannot be null.

Remarks

A default Path and 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