public static void Reset() { WinHttpOpen = new ApiControl(); WinHttpReadData = new ApiControl(); WinHttpReceiveResponse = new ApiControl(); WinHttpWriteData = new ApiControl(); WinHttpAutomaticProxySupport = true; WinHttpDecompressionSupport = true; LastWin32Error = 0; PACFileNotDetectedOnNetwork = false; CurrentUserCertificateStore = new X509Certificate2Collection(); }