System.Net.Security.SslStream.CipherAlgorithm Property

Gets a value that identifies the bulk encryption algorithm used by this System.Net.Security.SslStream.


public virtual System.Security.Authentication.CipherAlgorithmType CipherAlgorithm { get; }


Documentation for this section has not yet been entered.


A value of System.Security.Authentication.CipherAlgorithmType.Null is required for the SslStream.CipherAlgorithm property when the EncryptionPolicy.NoEncryption enumeration value is used to construct a System.Net.Security.SslStream instance.

winxpsvr and winxp do not support the System.Security.Authentication.CipherAlgorithmType.Null value. So even if the System.Security.Authentication.CipherAlgorithmType.Null value is used to construct the System.Net.Security.SslStream instance, the System.Net.Security.EncryptionPolicy property will be System.Security.Authentication.CipherAlgorithmType.None. The System.Security.Authentication.CipherAlgorithmType.Null value is only returned on Windows Vista and later.


Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0