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); } 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? 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.