Find obsolete SslStream cipher properties (SYSLIB0058)

Proprietary

Finds usages of SslStream.KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm, and HashStrength which are obsolete in .NET 10. Use SslStream.NegotiatedCipherSuite instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindSslStreamObsoleteProperties
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindSslStreamObsoleteProperties

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.