I want to clear ALL the cookies received in a CookieContainer without the need to initialize a new CookieContainer, HttpClientHandler and HttpClient. Is there a way? I've checked MSDN but it seems I can only use GetCookies(Uri) to get all the cookies associated with a particular Uri.
var cc = new CookieContainer();
var handler = new HttpClientHandler
{
CookieContainer = cc
};
var client = new HttpClient(handler);