public void PostAsyncTest() { var client = new CookieAwareWebClient { UserAgent = UserAgent }; client.PostAsync("https://example.com", new NameValueCollection() { { "key1", "value1" }, { "key2", "value2" }, }); }