Muokkaa

Jaa


ServicePointManager.EncryptionPolicy Property

Definition

Gets the EncryptionPolicy for this ServicePointManager instance.

public:
 static property System::Net::Security::EncryptionPolicy EncryptionPolicy { System::Net::Security::EncryptionPolicy get(); };
public static System.Net.Security.EncryptionPolicy EncryptionPolicy { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Net.Security.EncryptionPolicy EncryptionPolicy { get; }
static member EncryptionPolicy : System.Net.Security.EncryptionPolicy
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member EncryptionPolicy : System.Net.Security.EncryptionPolicy
Public Shared ReadOnly Property EncryptionPolicy As EncryptionPolicy

Property Value

The encryption policy to use for this ServicePointManager instance.

Attributes

Remarks

If a value is not specified in the configuration file, the EncryptionPolicy property defaults to EncryptionPolicy.RequireEncryption. This is applied to an SSL/TLS session on this ServicePointManager instance.

The use of the Null cipher is required when the encryption policy is set to EncryptionPolicy.NoEncryption.

Applies to

See also