Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Edited Feature: API access through proxies [1815]

$
0
0
Issue might happen if the user is behind a proxy.

Might be solved by updating the HttpWebRequest.

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
((HttpWebRequest)webRequest).ProtocolVersion = HttpVersion.Version10;
webRequest.PreAuthenticate = true;
ServicePointManager.ServerCertificateValidationCallback += delegate { return true; };

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>