agubanks Posted May 27, 2020 Share Posted May 27, 2020 Client a = new Client(Settings.TripleDesAppServiceProvider); Console.WriteLine(a); if (Settings.TurnSecurityProtocolType3072On) { ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; var client = new HttpClient(new AndroidClientHandler()); ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls13; Console.WriteLine(client); } if (Settings.TurnTrustFailureOnWebException) { ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true; var b = new AesCryptoServiceProvider(); Console.WriteLine(b); } Quote Link to comment Share on other sites More sharing options...
Irukandji Posted May 27, 2020 Share Posted May 27, 2020 What exactly are you planning to do? Quote Link to comment Share on other sites More sharing options...
agubanks Posted May 28, 2020 Author Share Posted May 28, 2020 i have an app that uses Triple Des to communicate with its server but want to change that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.