Org.Apache.Http.Cookies.CookieSpecRegistry.Register Method
Registers a Org.Apache.Http.Cookies.ICookieSpecFactory with the given identifier.

Syntax

[Android.Runtime.Register("register", "(Ljava/lang/String;Lorg/apache/http/cookie/CookieSpecFactory;)V", "")]
public void Register (string name, ICookieSpecFactory factory)

See Also

CookieSpecRegistry.GetCookieSpec(string)

Parameters

name
the identifier for this specification
factory
the Org.Apache.Http.Cookies.ICookieSpecFactory class to register

Remarks

Registers a Org.Apache.Http.Cookies.ICookieSpecFactory with the given identifier. If a specification with the given name already exists it will be overridden. This nameis the same one used to retrieve the Org.Apache.Http.Cookies.ICookieSpecFactory from CookieSpecRegistry.GetCookieSpec(string).

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Cookies
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1