← All recipes
Moderne licensed

Find obsolete SslProtocols.Tls/Tls11 usage (SYSLIB0039)

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.Net7.FindObsoleteSslProtocolsArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Finds usages of SslProtocols.Tls and SslProtocols.Tls11 which are obsolete in .NET 7 (SYSLIB0039). Use SslProtocols.Tls12, SslProtocols.Tls13, or SslProtocols.None instead.

Single recipesearchdotnetnet7networkingProprietary

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.Net7.FindObsoleteSslProtocols

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet