Find cryptography AppContext switches
ProprietaryFind AppContext.SetSwitch calls that change cryptography or TLS behavior (switches under System.Security.Cryptography, System.Net.Security, System.Net.Http and their Switch. compatibility forms, such as Switch.System.Net.DontEnableSystemDefaultTlsVersions). These process-wide settings can pin legacy behavior that blocks newer protocols and algorithms.
OpenRewrite. CSharp. Recipes. Cryptography. FindCryptographyAppContextSwitchesmod run . --recipe= OpenRewrite. CSharp. Recipes. Cryptography. FindCryptographyAppContextSwitchesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.