Share via


SslStream Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the SslStream class using the specified Socket.

Namespace:  Microsoft.SPOT.Net.Security
Assembly:  System.Net.Security (in System.Net.Security.dll)

Syntax

'Declaration
Public Sub New ( _
    socket As Socket _
)
public SslStream(
    Socket socket
)
public:
SslStream(
    Socket^ socket
)
new : 
        socket:Socket -> SslStream
public function SslStream(
    socket : Socket
)

Parameters

Remarks

The SslStream maintains the lifetime of the socket. When the SslStream object is disposed, the underlying TCP socket will be closed.

.NET Framework Security

See Also

Reference

SslStream Class

Microsoft.SPOT.Net.Security Namespace