agubanks Posted May 27, 2020 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); }
agubanks Posted May 28, 2020 Author Posted May 28, 2020 i have an app that uses Triple Des to communicate with its server but want to change that
Recommended Posts
Archived
This topic is now archived and is closed to further replies.