System::Net::CookieContainer::SetCookies method

CookieContainer::SetCookies method

Copies cookies from the specified header to the collection and associates them with the specified URI.

void System::Net::CookieContainer::SetCookies(System::SharedPtr<Uri> uri, String cookieHeader)
ParameterTypeDescription
uriSystem::SharedPtr<Uri>The URI.
cookieHeaderStringThe header that contains cookies.

See Also