Returns the state of the host/gateway connection.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Function isConnected() As Boolean
C#
public bool isConnected()
C++
public:
 bool isConnected() sealed 
J#
public bool isConnected()
JScript
public  function isConnected() : bool

Return Value

true or false. If the connection is open, the return value is true; otherwise it is false.

Example

[C#]

 Copy Code
            bool isConnected = screen.isConnected();
            
[VB]
 Copy Code
            Dim isConnected As Boolean
            
            isConnected = screen.isConnected
            

See Also