Find obsolete SslStream cipher properties (SYSLIB0058)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindSslStreamObsoletePropertiesArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds usages of SslStream.KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm, and HashStrength which are obsolete in .NET 10. Use SslStream.NegotiatedCipherSuite instead.
Single recipenet10searchdotnetProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindSslStreamObsoletePropertiesIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet