Home > Language Reference > Classes > StreamSocket

SslContext Property

Returns the SslContext object used to open the connection.

Syntax

Public Property Get SslContext() As SslContext

Remarks

The SslContext property returns the SslContext object that was specified to the Connect method when the connection was established. You typically use this property when you need to alter the SSL parameters. For example:

Private sConn as New StreamSocket ' The procedure that connects sConn is omitted here

Private Sub Button1_Click()
  sConn.SslContext.SendShutdown = False
End Sub

Most SSL properties may be modified dynamically. For more information, please refer to the SslContext class.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 5.0N/A