Exemple #1
0
        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();
        }
Exemple #2
0
 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();
 }