SslStream Constructor (Stream^)
.NET Framework (current version)
Namespace:
System.Net.Security
Assembly: System (in System.dll)
Return to top
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| ArgumentException | innerStream is not readable. -or- innerStream is not writable. |
| ArgumentNullException |
If a value is not specified in the configuration file for encryptionpolicy, the EncryptionPolicy defaults to EncryptionPolicy::RequireEncryption for the SslStream instance that is constructed.
The use of the Null cipher is required when the encryption policy is set to EncryptionPolicy::NoEncryption.
.NET Framework
Available since 2.0
Available since 2.0
Show: