System.Net.Security.EncryptionPolicy public enum EncryptionPolicy Documentation AllowNoEncryption = 1 NoEncryption = 2 RequireEncryption = 0