Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.​Net.​Security.​EncryptionPolicy
Assembly: System.Net.Security
Specifies the encryption policy.
Values
RequireEncryption
Require encryption and never allow a NULL cipher.
AllowNoEncryption
Prefer that full encryption be used, but allow a NULL cipher (no encryption) if the server agrees. Starting in .NET 7, this member is obsolete.
NoEncryption
Allow no encryption and request that a NULL cipher be used if the other endpoint can handle a NULL cipher. Starting in .NET 7, this member is obsolete.