ServicePointManagerElement.EncryptionPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the EncryptionPolicy to use.
public:
property System::Net::Security::EncryptionPolicy EncryptionPolicy { System::Net::Security::EncryptionPolicy get(); void set(System::Net::Security::EncryptionPolicy value); };
[System.Configuration.ConfigurationProperty("encryptionPolicy", DefaultValue=System.Net.Security.EncryptionPolicy.RequireEncryption)]
public System.Net.Security.EncryptionPolicy EncryptionPolicy { get; set; }
[<System.Configuration.ConfigurationProperty("encryptionPolicy", DefaultValue=System.Net.Security.EncryptionPolicy.RequireEncryption)>]
member this.EncryptionPolicy : System.Net.Security.EncryptionPolicy with get, set
Public Property EncryptionPolicy As EncryptionPolicy
Property Value
The encryption policy to use for a ServicePointManager instance.
- Attributes
Remarks
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.
Applies to
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.