ServicePointManagerElement::EncryptionPolicy Property
.NET Framework (current version)
Gets or sets the EncryptionPolicy to use.
Assembly: System (in System.dll)
public: [ConfigurationPropertyAttribute("encryptionPolicy", DefaultValue = EncryptionPolicy::RequireEncryption)] property EncryptionPolicy EncryptionPolicy { EncryptionPolicy get(); void set(EncryptionPolicy value); }
Property Value
Type: System.Net.Security::EncryptionPolicyThe encryption policy to use for a ServicePointManager instance.
The EncryptionPolicy property can require, allow, or prevent encryption. The EncryptionPolicy will be applied to an SSL/TLS session. The use of the Null cipher is required when the encryption policy is set to EncryptionPolicy::NoEncryption.
.NET Framework
Available since 4.0
Available since 4.0
Show: