예제 #1
0
        private async void FixIeButton_OnClick(object sender, RoutedEventArgs e)
        {
            var userRegisterProvider = new InternetSettingProvider();
            //还原高级设置
            await userRegisterProvider.RevertHighSettingAsync();

            //重置IE
            await userRegisterProvider.ResetInternetSettingAsync();

            //设置证书吊销验证不勾选
            userRegisterProvider.SetCertificateVerificationChecked(false);
        }
예제 #2
0
 private async void ResetIe_OnClick(object sender, RoutedEventArgs e)
 {
     var userRegisterProvider = new InternetSettingProvider();
     await userRegisterProvider.ResetInternetSettingAsync();
 }