Verastream SDK .Net Reference
Open Method
Example 



Opens a host session.
Syntax
'Declaration
 
Public Function Open() As Boolean
'Usage
 
Dim instance As ScreenUPG
Dim value As Boolean
 
value = instance.Open()
public bool Open()
public:
bool Open(); 

Return Value

true or false. If the session is opened successfully, the return value true; otherwise it is false.
Remarks
Note: Open may return before the host connection has been established. The developer should check for a true value returned by isConnected before calling additional API methods.
Example
[C#] [VB]
boolean isOpen = screen.Open();
Dim isOpen As Boolean
            
open = screen.Open
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