Exemplo n.º 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);
        }
Exemplo n.º 2
0
 private async void RevertHighSetting_OnClick(object sender, RoutedEventArgs e)
 {
     var userRegisterProvider = new InternetSettingProvider();
     await userRegisterProvider.RevertHighSettingAsync();
 }