Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- socket
Type: System.Net.Sockets. . :: . .Socket
A valid socket that currently has a TCP connection.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.