IsConnected

This method returns True if the current session is connected.


Syntax

FlexSession.IsConnected()


Example

Sub Main()

FlexSession.Disconnect()

If FlexSession.IsConnected() = True Then

MsgBox "This session is now connected to the host!"

Else

MsgBox "This session is not connected to the host!"

End If

FlexSession.Connect()

If FlexSession.IsConnected() = True Then

MsgBox "This session is now connected to the host!"

Else

MsgBox "This session is not connected to the host!"

End If

End Sub