Find obsolete SSL authentication enum types
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindSslAuthEnumTypesArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds usage of ExchangeAlgorithmType, CipherAlgorithmType, and HashAlgorithmType from System.Security.Authentication. These enum types are obsolete in .NET 10 (SYSLIB0058). Use SslStream.NegotiatedCipherSuite instead.
Single recipenet10searchdotnettlsProprietary
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.FindSslAuthEnumTypesIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet