Verastream SDK .Net Reference
isConnected Method
Example 



Returns the state of the host/gateway connection.
Syntax
'Declaration
 
Public Function isConnected() As Boolean
'Usage
 
Dim instance As ScreenUPG
Dim value As Boolean
 
value = instance.isConnected()
public bool isConnected()
public:
bool isConnected(); 

Return Value

true or false. If the connection is open, the return value is true; otherwise it is false.
Example
[C#] [VB]
bool isConnected = screen.isConnected();
Dim isConnected As Boolean
            
isConnected = screen.isConnected
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also