Opens a host session.


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

Syntax

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

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#]

 Copy Code
            boolean isOpen = screen.Open();
            
[VB]
 Copy Code
            Dim isOpen As Boolean
            
            open = screen.Open
            

See Also