You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code-quality/ca5361.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -25,20 +25,20 @@ f1_keywords:
25
25
26
26
## Cause
27
27
28
-
A <xref:System.AppContext.SetSwitch?displayProperty=nameWithType> method call sets `Switch.System.Net.DontEnableSchUseStrongCrypto` to `true`.
28
+
A <xref:System.AppContext.SetSwitch%2A?displayProperty=nameWithType> method call sets `Switch.System.Net.DontEnableSchUseStrongCrypto` to `true`.
29
29
30
30
## Rule description
31
31
32
-
Setting `Switch.System.Net.DontEnableSchUseStrongCrypto` to `true` weakens the security of outgoing Transport Layer Security (TLS) connections, by using weaker cryptography. See [Transport Layer Security (TLS) best practices with the .NET Framework](/dotnet/framework/network-programming/tls#switchsystemnetdontenableschusestrongcrypto) for more information.
32
+
Setting `Switch.System.Net.DontEnableSchUseStrongCrypto` to `true` weakens the cryptography used in outgoing Transport Layer Security (TLS) connections. Weaker cryptography can compromise the confidentiality of communication between your application and the server, making it easier for attackers to eavesdrop sensitive data. For more information, see [Transport Layer Security (TLS) best practices with the .NET Framework](/dotnet/framework/network-programming/tls#switchsystemnetdontenableschusestrongcrypto).
33
33
34
34
## How to fix violations
35
35
36
-
- If your application targets .NET Framework v4.6 or later, you can remove the <xref:System.AppContext.SetSwitch?displayProperty=nameWithType> method call.
36
+
- If your application targets .NET Framework v4.6 or later, you can remove the <xref:System.AppContext.SetSwitch%2A?displayProperty=nameWithType> method call.
37
37
- If your application targets .NET Framework earlier than v4.6, and runs on .NET Framework v4.6 or later, set the switch's value to `false`.
38
38
39
39
## When to suppress warnings
40
40
41
-
Suppress this warning if you must connect to a legacy service that cannot be upgraded to use more secure configurations of TLS.
41
+
You can suppress this warning if you need to connect to a legacy service, which can't be upgraded to use secure TLS configurations.
0 commit comments