| WikiClientCookieContainer Property |
This is preliminary documentation and is subject to change.
Gets/Sets the cookies used in the requests.
Namespace: WikiClientLibrary.ClientAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public CookieContainer CookieContainer { get; set; }
Public Property CookieContainer As CookieContainer
Get
Set
Dim instance As WikiClient
Dim value As CookieContainer
value = instance.CookieContainer
instance.CookieContainer = value
public:
property CookieContainer^ CookieContainer {
CookieContainer^ get ();
void set (CookieContainer^ value);
}
member CookieContainer : CookieContainer with get, set
Property Value
CookieContainerExceptions Exception | Condition |
---|
NotSupportedException | You have initialized this Client with a HttpMessageHandler that is not a HttpClientHandler. |
Remarks To persist user's login information, you can persist the value of this property.
You can use the same CookieContainer with different WikiClients.
See Also