WiseMo Guest Component API
|
C++ More...
import"WGuest.idl";
Public Member Functions | |
HRESULT | Open ([out, retval] LONG *result) |
HRESULT | Close ([out, retval] LONG *result) |
HRESULT | BeginSession ([in] LONG SessionType, [out, retval] LONG *result) |
HRESULT | EndSession ([in] LONG SessionType, [out, retval] LONG *result) |
HRESULT | SendLoginPassword ([in] BSTR Pwd, [out, retval] LONG *result) |
HRESULT | SendLoginWiseMo ([in] BSTR GuestId, [in] BSTR Pwd, [in] BSTR NewPassword, [out, retval] LONG *result) |
HRESULT | SendLoginWindows ([in] BSTR UserId, [in] BSTR Domain, [in] BSTR Pwd, [out, retval] LONG *result) |
HRESULT | SendLoginLdap ([in] BSTR Server, [in] BSTR User, [in] BSTR Pwd, [out, retval] LONG *result) |
HRESULT | SendLoginRsa ([in] BSTR UserId, [in] BSTR Pco, [in] BSTR Pwd, [in] BSTR NewPassword, [out, retval] LONG *result) |
HRESULT | SendLoginRsaPin ([in] BSTR Pin, [out, retval] LONG *result) |
HRESULT | CancelLogin ([out, retval] LONG *result) |
HRESULT | SendRefreshScreen ([out, retval] LONG *result) |
HRESULT | SendCtrlAltDel ([out, retval] LONG *result) |
HRESULT | SendCtrlEsc ([out, retval] LONG *result) |
HRESULT | SendAltTab ([in] VARIANT_BOOL bSendAltUp, [out, retval] LONG *result) |
HRESULT | SendAltShiftTab ([in] VARIANT_BOOL bSendAltUp, [out, retval] LONG *result) |
HRESULT | SendAltUp ([out, retval] LONG *result) |
HRESULT | SendGoSolo ([out, retval] LONG *result) |
HRESULT | RequestKeyboardAndMouseControl ([out, retval] LONG *result) |
HRESULT | SendGuardHost ([in] VARIANT_BOOL Guard, [out, retval] LONG *result) |
HRESULT | SendChatMessage ([in] BSTR Message, [out, retval] LONG *result) |
HRESULT | SetCustomString ([in] LONG StringId, [in] BSTR Str, [out, retval] LONG *result) |
HRESULT | GetKeyboardShortcut ([in] LONG ShortcutType, [out, retval] IWGuestShortcut **result) |
HRESULT | ClipboardSend ([out, retval] LONG *result) |
HRESULT | ClipboardReceive ([out, retval] LONG *result) |
HRESULT | ClipboardCancel ([out, retval] LONG *result) |
HRESULT | SendBlankScreen ([in] VARIANT_BOOL val, [out, retval] LONG *result) |
HRESULT | SendLockKeyboardAndMouse ([in] VARIANT_BOOL val, [out, retval] LONG *result) |
HRESULT | SendCurrentUserLoginWindows ([out, retval] LONG *result) |
HRESULT | SendInstallMonitorDriver ([out, retval] LONG *result) |
HRESULT | SendMarkerMode ([in] VARIANT_BOOL val, [out, retval] LONG *result) |
HRESULT | ScriptSendMessage ([in] BSTR Message, [in] VARIANT_BOOL IsRTF, [out, retval] LONG *result) |
HRESULT | ScriptRunProgram ([in] BSTR Path, [in] BSTR Parameters, [in] LONG Mode, [out, retval] LONG *result) |
HRESULT | ScriptExecuteCommand ([in] LONG Command, [out, retval] LONG *result) |
HRESULT | InvokeRmOperation ([in] LONG snapinId, [in] LONG opId, [in] BSTR param, [out, retval] LONG *requestId) |
HRESULT | GetInventory ([in] LONG flags, [out, retval] LONG *retcode) |
HRESULT | SendUnicode ([in] LONG keycode, [in] LONG flags, [in] VARIANT_BOOL special, [out, retval] LONG *result)=0 |
Properties | |
IWGuestSkinSupport | Skins [get] |
LONG | BackgroundColor [get, set] |
BSTR | Version [get] |
VARIANT | Events [get] |
LONG | ClipboardMode [get, set] |
LONG | ClipboardMaxSize [get, set] |
LONG | HostType [get] |
LONG | ControlWidth [get] |
LONG | ControlHeight [get] |
IWGuestNfmOptions | NfmOptions [get] |
Current connection properties | |
LONG | CurrentCommProfile [get] |
BSTR | CurrentHostAddress [get] |
LONG | CurrentPortNumber [get] |
BSTR | CurrentGatewayAddress [get] |
BSTR | CurrentHttpProxyAddress [get] |
LONG | CurrentGraphicsMode [get] |
LONG | CurrentGraphicsMaxColors [get, set] |
LONG | CurrentCompressionLevel [get, set] |
LONG | CurrentEncryptionPreferred [get] |
VARIANT_BOOL | IsOpen [get] |
VARIANT_BOOL | IsConnected [get] |
LONG | SessionStatus [get] |
LONG | HostScreenWidth [get] |
LONG | HostScreenHeight [get] |
VARIANT_BOOL | IsMultiguestAdminOnHost [get] |
LONG | NumGuestsOnHost [get] |
IWGuestFont | ChatFont [get] |
Properties for next connection | |
New values for these properties are not used until next connection. | |
LONG | CommProfile [get, set] |
BSTR | HostAddress [get, set] |
LONG | PortNumber [get, set] |
BSTR | GatewayAddress [get, set] |
BSTR | HttpProxyAddress [get, set] |
LONG | CompressionLevel [get, set] |
LONG | EncryptionPreferred [get, set] |
LONG | GraphicsMode [get, set] |
LONG | GraphicsMaxColors [get, set] |
VARIANT_BOOL | LockHostKeyboardOnConnect [get, set] |
VARIANT_BOOL | BlankHostScreenOnConnect [get, set] |
VARIANT_BOOL | GuardHostOnConnect [get, set] |
Remote desktop display properties | |
LONG | DesktopOptimizeMask [get, set] |
LONG | StretchToFitWindow [get, set] |
VARIANT_BOOL | AutoScroll [get, set] |
LONG | ScrollPositionX [get, set] |
LONG | ScrollPositionY [get, set] |
IWGuestRcArea | RcArea [get] |
Keyboard and mouse properties | |
LONG | MouseMode [get, set] |
VARIANT_BOOL | ShowRemoteMouseMovements [get, set] |
LONG | KeyboardMode [get, set] |
VARIANT_BOOL | UnicodeKeyboardMode [get, set] |
VARIANT_BOOL | RemoteCursor [get, set] |
VARIANT_BOOL | AutoTakeControl [get, set] |
Localization properties | |
LONG | Language [get, set] |
License properties | |
LONG | LicenseType [get, set] |
BSTR | LicenseKey [get, set] |
VARIANT_BOOL | LicenseAutoSave [get, set] |
myCloud properties | |
BSTR | myCloudAddress [get, set] |
BSTR | myCloudCredentialsAccount [get, set] |
BSTR | myCloudCredentialsPassword [get, set] |
BSTR | myCloudCredentialsDomain [get, set] |
BSTR | myCloudProvidedTicket [get, set] |
BSTR | myCloudNameQualifier [get, set] |
BSTR | myCloudAuthToken [get, set] |
Properties for next connection (2) | |
VARIANT_BOOL | UseOneTimePassword [get, set] |
LONG | CacheSize [get, set] |
Current connection properties (2) | |
LONG | CurrentCacheSize [get] |
LONG | CurrentEncryption [get] |
LONG | AccessPrivileges [get] |
Properties for next connection (3) | |
LONG | GraphicsCompression [get, set] |
Current connection properties (3) | |
LONG | CurrentGraphicsCompression [get] |
C++
enum AccessPrivilege_t |
The access privilege flags.
enum ClipboardMode_t |
enum CommProfile_t |
enum CompressionLevel_t |
The remote desktop optimization flags.
enum EncryptionLevel_t |
The connection encryption level.
enum ErrorCode_t |
Error codes
enum GraphicsMode_t |
enum HostType_t |
Host type values.
enum InfoWindowReason_t |
Info window reason
enum KeyboardMode_t |
enum Language_t |
User interface languages.
enum LicenseType_t |
enum LoginReason_t |
Login window reason
enum MaxColors_t |
enum MouseMode_t |
enum MultiguestEvent_t |
Multi guest event flags.
enum SessionStatus_t |
Session status.
enum SessionType_t |
enum StretchMode_t |
HRESULT BeginSession | ( | [in] LONG | SessionType, |
[out, retval] LONG * | result | ||
) |
Initiates a new session.
This function can be used to start a chat, RM or FT session or to resume an RC session when the connection is active or to start a new connection with chat, RM, FT or RC session.
When there is no active connection, the new connection will be established with a host specified by HostAddress, PortNumber, GatewayAddress, HttpProxyAddress, CommProfile properties.
If there is already an active connection, this function either opens a new chat/RM/FT session or resumes an RC session.
The function is asynchronous. The following events can be fired during and after calling this method:
WGuestLib::_IWGuestControlCP::OnConnectPre(), WGuestLib::_IWGuestControlCP::OnConnectPost() and WGuestLib::_IWGuestControlCP::OnSessionStarted() are fired only when a new connection is established.
When there was an active connection, only WGuestLib::_IWGuestControlCP::OnBeginSessionPre() and WGuestLib::_IWGuestControlCP::OnBeginSessionPost() events are fired.
WGuestLib::_IWGuestControlCP::OnConnectPre() is always followed by WGuestLib::_IWGuestControlCP::OnConnectPost().
There is always WGuestLib::_IWGuestControlCP::OnBeginSessionPost() for each WGuestXLib::IWGuestCtrlEvents::OnBeginSessionPre().
None of these events may be produced if the BeginSession() returns an error.
It is safe to call this function only in some particular states:
In other cases such as when a connection is closing, or when a connection is starting, or when Host requested authentication this function will return an error.
For example in the following code:
the BeginSession(Chat) in most cases will return error because connection and Rc session is not established yet.
SessionType | - a session to open: SessionType_RemoteControl - Remote control SessionType_Chat - Text chat SessionType_Rm - Remote Management SessionType_Nfm - File Transfer. |
This operation creates session (affecting other operations in regards to security restrictions).
HRESULT CancelLogin | ( | [out, retval] LONG * | result | ) |
Cancels the authentication on a Gateway or Host.
Can be used to cancel the authentication on a gateway or host. When canceling the authentication on Host, the WGuestLib::_IWGuestControlCP::OnLoginFailed() is fired.
This function should be called on in response to OnLogin events:
HRESULT ClipboardCancel | ( | [out, retval] LONG * | result | ) |
Cancels clipboard transmission if any.
HRESULT ClipboardReceive | ( | [out, retval] LONG * | result | ) |
Receives clipboard from host to guest.
HRESULT ClipboardSend | ( | [out, retval] LONG * | result | ) |
Sends clipboard from guest to host.
HRESULT Close | ( | [out, retval] LONG * | result | ) |
Close NGA control instance.
Ends all active sessions, disconnects from the host, close the NGA control instance and changes IsOpen property if closed successfully.
This method is synchronous.
The method fires the following events:
WGuestLib::_IWGuestControlCP::OnClosePre event is always followed by WGuestLib::_IWGuestControlCP::OnClosePost() event.
The events are not fired if the instance is already closed.
After having the Close() method called, the Open() method can be called once again.
This method is called automatically when WGuest window is being destroyed.
This operation is always safe.
HRESULT EndSession | ( | [in] LONG | SessionType, |
[out, retval] LONG * | result | ||
) |
Ends an active session of the given type.
If there is no more active session, this function disconnects the NGA instance from Host.
The function is asynchronous. The following events can be produced after calling this method:
WGuestLib::_IWGuestControlCP::OnDisconnectPre() and WGuestLib::_IWGuestControlCP::OnDisconnectPost() are fired only when the instance is disconnected from Host.
When there is still an active connection, only WGuestLib::_IWGuestControlCP::OnEndSessionPre() and WGuestLib::_IWGuestControlCP::OnEndSessionPost() events are fired.
WGuestLib::_IWGuestControlCP::OnDisconnectPre() is always followed by WGuestLib::_IWGuestControlCP::OnDisconnectPost().
There is always WGuestLib::_IWGuestControlCP::OnEndSessionPost() for each WGuestXLib::IWGuestCtrlEvents::OnEndSessionPre().
None of these events can be produced if the function returns an error.
It is safe to call this function only in some particular states:
In other states (e.g. connecting, closing) the function will return an error.
For example in the following code:
the EndSession(Rc) will return an error because the Rc session wasn't opened yet.
SessionType | - a session to close: SessionType_RemoteControl - Remote control SessionType_Chat - Text chat SessionType_Rm - Remote Management SessionType_Nfm - File Transfer. |
This operation is always safe.
HRESULT GetInventory | ( | [in] LONG | flags, |
[out, retval] LONG * | retcode | ||
) |
Starts remote host inventory operation.
flags | logical OR of values: 1 - get JSON inventory data, path to inventory file otherwise. |
Inventory data is reported by WGuestLib::_IWGuestControlCP::OnInventoryData event, inventory file path is reported by WGuestLib::_IWGuestControlCP::OnInventoryFile event.
HRESULT GetKeyboardShortcut | ( | [in] LONG | ShortcutType, |
[out, retval] IWGuestShortcut ** | result | ||
) |
Keyboard shortcut interface.
This method can be used to set/get WGuest keyboard shortcuts, for example "Send Alt-Ctrl-Del to Host", "Send Ctrl-Esc to Host", etc.
ShortcutType | - the ID of the shortcut to return (one of the IWGuestShortcut::ShortcutType_t constants) |
This operation requires session.
HRESULT InvokeRmOperation | ( | [in] LONG | snapinId, |
[in] LONG | opId, | ||
[in] BSTR | param, | ||
[out, retval] LONG * | requestId | ||
) |
Starts remote management operation.
Remote management functionality is divided on subsystems (Snap-ins).
snapinId | Snap-in id, see Remote Management operations. |
opId | Operation id, see Remote Management operations. |
param | Operation params in JSON format, see Remote Management operations for params content. |
HRESULT Open | ( | [out, retval] LONG * | result | ) |
Opens NGA control instance.
Opens NGA control instance and changes IsOpen property if opened successfully. Instance should be open to create sessions.
This method is synchronous.
The method fires the following events:
WGuestLib::_IWGuestControlCP::OnOpenPre event is always followed by WGuestLib::_IWGuestControlCP::OnOpenPost() event.
The events are not fired if the instance is already opened.
This operation is always safe.
HRESULT RequestKeyboardAndMouseControl | ( | [out, retval] LONG * | result | ) |
Sends Request Keyboard And Mouse Control command to Host.
This operation requires session.
HRESULT ScriptExecuteCommand | ( | [in] LONG | Command, |
[out, retval] LONG * | result | ||
) |
Execute Command.
Command | - the command to execute
|
This operation requires session.
HRESULT ScriptRunProgram | ( | [in] BSTR | Path, |
[in] BSTR | Parameters, | ||
[in] LONG | Mode, | ||
[out, retval] LONG * | result | ||
) |
Run Program.
Path | - path to the program executable on the host machine, can contain environment variables like PROGRAMFILES% which will be expanded appropriately on the host |
Parameters | - command line for the program |
Mode | - how program should run
|
This operation requires session.
HRESULT ScriptSendMessage | ( | [in] BSTR | Message, |
[in] VARIANT_BOOL | IsRTF, | ||
[out, retval] LONG * | result | ||
) |
Sends a message to Host in plaintext or RTF.
Message | - the message |
isrtf | - is message plaintext or RTF message is expected to consist of 7-bit ASCII characters only (in standard RTF non-ASCII symbols are all encoded) |
This operation requires session.
HRESULT SendAltShiftTab | ( | [in] VARIANT_BOOL | bSendAltUp, |
[out, retval] LONG * | result | ||
) |
Sends Alt-Shift-Tab keystroke to Host.
Function sends scancodes for Alt-Shift-Tab key down and key up. To prevent the function from sending Alt key up scancode the bSendAltUp parameter can be set to FALSE.
UpDown | - If TRUE, send down+up scancodes, otherwise only down. |
This operation requires session.
HRESULT SendAltTab | ( | [in] VARIANT_BOOL | bSendAltUp, |
[out, retval] LONG * | result | ||
) |
Sends Alt+Tab keystroke to Host.
Function sends scancodes for Alt-Tab key down and key up. To prevent the function from sending Alt key up scancode the bSendAltUp parameter can be set to FALSE.
bSendAltUp | - when false the function do not send Alt up scancode. |
This operation is always safe.
HRESULT SendAltUp | ( | [out, retval] LONG * | result | ) |
Sends Alt key up scan code to Host.
This function can be use to send a key up scan code for Alt button to Host when the Alt up scan code was not sent by SendAltTab() or SendAltShiftTab().
This operation requires session.
HRESULT SendBlankScreen | ( | [in] VARIANT_BOOL | val, |
[out, retval] LONG * | result | ||
) |
Sends blank screen command to host.
The function is asynchronous. WGuestLib::_IWGuestControlCP::OnBlankScreenResult() event can be fired with the result.
val | - If TRUE, host screen will be blanked, if FALSE then shown. |
HRESULT SendChatMessage | ( | [in] BSTR | Message, |
[out, retval] LONG * | result | ||
) |
Sends chat message to Host.
Message | - a chat message to send to host. |
Font | - a font of chat message. |
This operation requires session.
HRESULT SendCtrlAltDel | ( | [out, retval] LONG * | result | ) |
Sends Ctrl-Alt-Del keystroke to Host.
This function sends both key down and up scancodes.
This operation requires session.
HRESULT SendCtrlEsc | ( | [out, retval] LONG * | result | ) |
Sends Ctrl-Esc keystroke to Host.
This function sends both down and up scancodes.
This operation requires session.
HRESULT SendCurrentUserLoginWindows | ( | [out, retval] LONG * | result | ) |
Sends the current user Windows system credentials to Host.
This function shall only be called on WGuestLib::_IWGuestControlCP::OnLoginWindows() event.
The function is asynchronous.
This operation is always safe.
HRESULT SendGoSolo | ( | [out, retval] LONG * | result | ) |
Sends the Go Solo command to Host.
This operation requires session.
HRESULT SendGuardHost | ( | [in] VARIANT_BOOL | Guard, |
[out, retval] LONG * | result | ||
) |
Sends Guard command to Host.
Guard | true - to prevent further guest connections false - to enable further guest connections. |
This operation requires session.
HRESULT SendInstallMonitorDriver | ( | [out, retval] LONG * | result | ) |
Sends install WiseMo monitor driver command to host.
The function is asynchronous. WGuestLib::_IWGuestControlCP::OnInstallMonitorDriverResult() event can be fired with the result.
This operation requires session.
HRESULT SendLockKeyboardAndMouse | ( | [in] VARIANT_BOOL | val, |
[out, retval] LONG * | result | ||
) |
Sends lock keyboard and mouse command to host.
val | - If TRUE, host keyboard and mouse will be locked, if FALSE then unlocked. |
HRESULT SendLoginLdap | ( | [in] BSTR | Server, |
[in] BSTR | User, | ||
[in] BSTR | Pwd, | ||
[out, retval] LONG * | result | ||
) |
Sends LDAP credentials to Host.
This shall only be called on WGuestLib::_IWGuestControlCP::OnLoginLdap() event.
The function is asynchronous.
Server | - The server ID must not be NULL and not longer than 512 characters. |
User | - The user ID must not be NULL and not longer than 512 characters. |
Pwd | - The password must not be NULL and not longer than 512 characters. |
This operation is always safe.
HRESULT SendLoginPassword | ( | [in] BSTR | Pwd, |
[out, retval] LONG * | result | ||
) |
Sends the password credentials to Host.
This function shall only be called on WGuestLib::_IWGuestControlCP::OnLoginPassword() event.
The function is asynchronous.
Pwd | - The password must not be NULL and not longer than 16 characters. |
This operation is always safe.
HRESULT SendLoginRsa | ( | [in] BSTR | UserId, |
[in] BSTR | Pco, | ||
[in] BSTR | Pwd, | ||
[in] BSTR | NewPassword, | ||
[out, retval] LONG * | result | ||
) |
Sends RSA credentials to Host.
This function shall only be called on WGuestLib::_IWGuestControlCP::OnLoginRsa() event.
The function is asynchronous.
UserId | - The user ID must not be NULL and not longer than 32 characters. |
Pco | - The RSA SecurID passcode must not be NULL and not longer than 16 characters. |
Pwd | - The optional password. May be NULL. Must not be longer than 16 chars. |
This operation is always safe.
HRESULT SendLoginRsaPin | ( | [in] BSTR | Pin, |
[out, retval] LONG * | result | ||
) |
Sends RSA SecurID pin code to Host.
Sends an RSA SecurID pin code. This shall only be called on WGuestLib::_IWGuestControlCP::OnEnterRsaPincode() event.
The function is asynchronous.
Pin | - The pin code. |
This operation is always safe.
HRESULT SendLoginWindows | ( | [in] BSTR | UserId, |
[in] BSTR | Domain, | ||
[in] BSTR | Pwd, | ||
[out, retval] LONG * | result | ||
) |
Sends Windows system credentials to Host.
This function shall only be called on WGuestLib::_IWGuestControlCP::OnLoginWindows() event.
The function is asynchronous.
UserId | - The user ID must not be NULL and not longer than 512 characters. |
Domain | - The domain must not be NULL and not longer than 512 characters. |
Pwd | - The password must not be NULL and not longer than 512 characters. |
This operation is always safe.
HRESULT SendLoginWiseMo | ( | [in] BSTR | GuestId, |
[in] BSTR | Pwd, | ||
[in] BSTR | NewPassword, | ||
[out, retval] LONG * | result | ||
) |
Sends the WiseMo credentials to Host.
This function shall only be called on WGuestLib::_IWGuestControlCP::OnLoginWiseMo() event.
The function is asynchronous.
GuestId | - The user ID must not be NULL and not longer than 32 characters. |
Pwd | - The password must not be NULL and not longer than 16 characters. |
This operation is always safe.
HRESULT SendMarkerMode | ( | [in] VARIANT_BOOL | val, |
[out, retval] LONG * | result | ||
) |
Sends marker mode command to host.
val | - If TRUE, marker mode will be turned on, if FALSE then marker mode will be turned off. |
This operation requires session.
HRESULT SendRefreshScreen | ( | [out, retval] LONG * | result | ) |
Forces the Host to resend its screen.
This function forcefully refreshes RC screen.
This operation requires session.
|
pure virtual |
Send keyboard event.
keycode |
|
flags |
|
This operation requires session.
HRESULT SetCustomString | ( | [in] LONG | StringId, |
[in] BSTR | Str, | ||
[out, retval] LONG * | result | ||
) |
Overrides the given GUI string.
StringId | - The Id of GUI string to override. |
Str | - New GUI string. Passing a NULL string will remove the overridden string. |
This operation is never safe.
|
get |
Allowed access privileges for the active connection, read only.
Returns bitwise combination of the AccessPrivilege_t flags. When there is no active connection all zeroes are returned.
This property is always safe.
|
getset |
Auto scroll mode.
The scroll is done when the Mouse enters a hot zone close to the border (1/10 of the width or height in each side (left/right/top/bottom) of the RC window.
Default value: TRUE (enabled).
This property is always safe.
|
getsetproperty |
Gets or sets the auto take control property.
When several guests are connected to the same host only one of these guests controls Host's keyboard and mouse. When this option is enabled, Guest requests the control over Host keyboard and mouse automatically on keyboard or mouse hit.
Default value: TRUE.
This property is always safe.
|
getset |
Background color to be used by default OnEraseBackground handler.
DefaultValue -1(not set): black when connected, white with logo bitmap when not connected when set, uses the specified color for both states, no logo bitmap is drawn.
This property is always safe.
|
getset |
Host screen blanking mode for the next connection.
BeginSession() method uses this mode when establishing a new connection.
Default value: FALSE (do not blank).
This property is always safe.
|
getset |
RC cache size in KB for the next connection.
Default value: 10000.
BeginSession() method uses this value when establishing a new connection. The nearest greater value from presets will be actually used.
This property is always safe.
|
get |
Get chat font interface, read only.
This property is always safe.
|
getset |
Clipboard maximum size (in bytes).
When clipboard's size is less than ClipboardMaxSize, it is transmitted to/from Host. Default value is 300000.
This property is always safe.
|
getset |
Clipboard mode
One of the ClipboardMode_t constants can be assigned to this property:
This property is always safe.
|
getset |
Communication profile for the next connection.
One of the CommProfile_t constants can be assigned to this property.
Default value: CommProfile_TCP
BeginSession() method uses this profile when establishing a new connection.
This property is always safe.
|
getset |
The compression level for the next connection.
One of the CompressionLevel_t constants can be assigned to this property.
BeginSession() method uses this mode when establishing a new connection.
Default value: CompressionLevel_Auto - select compression level automatically
This property is always safe.
|
get |
The current height of the control window, read only.
This property is always safe.
|
get |
The current width of the control window, read only.
This property is always safe.
|
get |
The actual RC cache size in KB for the active connection, read only.
When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The communication profile of the current connection, read only.
When there is no active connection the NGA_UNKNOWN is always returned.
This property is always safe.
|
getset |
The compression level of the current connection, read/write.
One of the CompressionLevel_t constants can be assigned to this property.
When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The actual encryption level for the active connection, read only.
Returns one of the EncryptionLevel_t constants. When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The encryption level of the current connection, read/write.
One of the EncryptionLevel_t constants can be assigned to this property.
When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The address of the gateway for the current connection, read only.
When there is no active connection the empty string is returned.
This property is always safe.
|
get |
The graphics compression of the current connection, read only.
Number from 0 to 3: 0 - not compressed, 3 - maximum compression.
When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
getset |
The limit of bitmap mode colors for the current connection, read/write.
One of the MaxColors_t constant can be assigned to this property.
Used only for bitmap modes (e.g. when GraphicsMode property is either GraphicsMode_AccBitmap or GraphicsMode_NormalBitmap).
When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The graphic mode of the current connection, read only.
One of the GraphicsMode_t constant can be assigned to this property.
When there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The host address of the current connection, read only.
When there is no connection the empty string is returned.
This property is always safe.
|
get |
The address of HTTP proxy for the current connection, read only.
When there is no connection the empty string is returned.
This property is always safe.
|
get |
The port number of the current connection, read only.
The value 0 means that default port for current communication profile should is used.
When there is no active connection NGA_UNKNOWN is returned.
This property is always safe.
|
getset |
Desktop optimization mask for the current and next connection.
A bitwise OR of the DesktopOptimization_t constants can be assigned to this property.
Changing this property will affect current RC session immediately. Same setting will be used for next RC session.
Default value: DesktopOptimization_DisableEverything - disable everything
This property is always safe.
|
getset |
The encryption level for the next connection.
One of the EncryptionLevel_t constants can be assigned to this property.
BeginSession() method uses this mode when establishing a new connection.
Default value: EncryptionLevel_Compatible - Classic encryption
This property is always safe.
|
get |
Property for assigning event handlers in JavaScript environment (null if not supported).
Example:
see WGuestLib::_IWGuestControlCP for the list of possible handlers.
This property is always safe.
|
getset |
Address of gateway for the next connection.
When empty string is specified the gateway is not used. This property is ignored when UDP communication profile is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is always safe.
|
getset |
The graphics compression for the next connection.
Number from 0 to 3 can be assigned to this property: 0 - not compressed, 3 - maximum compression.
BeginSession() method use this mode when establishing a new connection.
This property is always safe.
|
getset |
The limit of bitmap mode colors for the next connection.
One of the MaxColors_t constant can be assigned to this property.
Used only for bitmap modes (e.g. when GraphicsMode property is either GraphicsMode_AccBitmap or GraphicsMode_NormalBitmap).
BeginSession() method uses this mode when establishing a new connection.
Default value: MaxColors_Actual - use actual colors
This property is always safe.
|
getset |
The graphic mode for the next connection.
One of the GraphicsMode_t constant can be assigned to this property.
BeginSession() method uses this mode when establishing a new connection.
This property is always safe.
|
getset |
Host guard settings for the next connection.
BeginSession() method uses this mode when establishing a new connection.
Default value: FALSE (do not guard).
This property is always safe.
|
getset |
The address of remote host for the next connection.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is always safe.
|
get |
The current height of the remote desktop, read only.
When there is no active RC session the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
The current width of the remote desktop, read only.
When there is no active RC session the NGA_UNKNOWN is returned.
This property is always safe.
|
get |
Host type, read only.
Can be one of the HostType_t constants, if there is no active connection the NGA_UNKNOWN is returned.
This property is always safe.
|
getset |
Address of HTTP proxy for the next connection.
The proxy address is ignored when UDP or TCP communication profile is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is always safe.
|
get |
Whether the instance of NGA is connected to remote Host, read only.
Property is true when there is an active session (chat, RC, FT or RM).
This property is always safe.
|
get |
Whether the current RC session has multi guest admin role on Host, read only.
When there is no active session the false is returned.
This property is always safe.
|
get |
Whether the instance of NGA was opened successfully by Open() function, read only.
This property is always safe.
|
getset |
The keyboard mode of the current and next RC session.
One of the KeyboardMode_t constants can be assigned to this property.
Default value: KeyboardMode_Local
This property is always safe.
|
getset |
Gets or sets the language used for build-in dialogs.
One of the Language_t constants can be assigned to this property.
When attempting to assign unsupported language value, the current UI language is not changed.
Default value: selected in accordance with system locale. If the current system locale is not supported, the Language_English language is used.
This property is always safe.
|
getset |
The license properties autosave flag. WGuest checks this property when some license property is changed and if flag is TRUE property value is saved into registry. The setting of this flag affects only properties changed after flag was set.
Default value: TRUE.
This property is always safe.
|
getset |
The license key. WGuest uses this property when the license type is standalone. The string property contains the license key.
Default value: empty string
This property is safe to write.
|
getset |
Sentinel license type (network, standalone, etc).
One of the LicenseType_t constants can be assigned to this property.
When attempting to assign unsupported license type value, the current License type is not changed.
Default value: LicenseType_None
This property is safe to write.
|
getset |
Keyboard locking mode for the next connection.
BeginSession() method uses this mode when establishing a new connection.
Default value: FALSE (do not lock).
This property is always safe.
|
getset |
Mouse mode of current and next RC session.
One of the MouseMode_t constants can be assigned to this property.
Default value: MouseMode_Remote
This property is always safe.
|
getset |
Gets or sets the myCloud address for the next connection.
This property is ignored when communication profile other than myCloud is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is always safe.
|
getset |
Gets or sets the myCloud authentication token.
This property is ignored when communication profile other than myCloud is selected.
When authentication token is set it replaces all myCloud credentials: Account, Domain, Password Default value: empty string
This property is always safe.
|
getset |
Gets or sets the myCloud credentials account for the next connection.
This property is ignored when communication profile other than myCloud is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is safe to write.
|
getset |
Gets or sets the myCloud credentials domain for the next connection.
This property is ignored when communication profile other than myCloud is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is safe to write.
|
getset |
Gets or sets the myCloud credentials password for the next connection.
This property is ignored when communication profile other than myCloud is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is safe to write.
|
getset |
Gets or sets the myCloud name qualifier for next connection.
This property is ignored when communication profile other than myCloud is selected.
BeginSession() method uses this address when establishing a new connection. Default value: "HST"
This property is safe to write.
|
getset |
Gets or sets the myCloud provided ticket for next connection.
This property is ignored when communication profile other than myCloud is selected.
BeginSession() method uses this address when establishing a new connection. Default value: empty string
This property is safe to write.
|
get |
NFM options support interface (read only property).
This property can be used to set/get the properties related to NFM session.
See IWGuestNfmOptions interface description for more details.
This property is always safe.
|
get |
The number of guests connected to Host, read only.
When there is no active session the NGA_UNKNOWN is returned.
This property is always safe.
|
getset |
Port number for the next connection.
The value 0 means that default port for current communication profile should be used.
BeginSession() method uses this property when establishing a new connection. Default value: 0
|
get |
Rc area interface (read only property).
This property can be used to set/get the remote control area to be shown in the control. Changing this property does not affect the remote control area of the current connection, settings will be used for next connections.
See IWGuestRcArea interface description for more details.
This property is always safe.
|
getset |
The remote cursor display mode.
When 'true' NGA mouse cursor has the shape of the Host mouse cursor when displayed in the NGA control. The shape of the cursor is not stretched when the remote desktop mode is stretched to fit the screen.
Default value: TRUE.
This property is always safe.
|
getset |
The horizontal position of the remote desktop image inside NGA control.
Default value: 0
This property is always safe.
|
getset |
The vertical position of the remote desktop image inside NGA control.
Default value: 0
This property is always safe.
|
get |
Current status of RC session, read only.
Status: Can be one of the SessionStatus_t constants. When the NGA instance is not open, status is SessionStatus_Idle.
This property is always safe.
|
getset |
Gets or sets the value of remote mouse movements property.
When this property is true the remote desktop mouse movements are shown when the control is focused.
Default value: false (do not show remote mouse movements).
This property is always safe.
|
get |
Skin support interface (read only property).
This property can be used to set/get the properties related to skins for RC view.
See IWGuestSkinSupport interface description for more details.
This property is always safe.
|
getset |
Remote desktop stretch mode.
Property indicates how the remote desktop image is displayed inside NGA control. Changing this property with active RC session will redraw the NGA control.
One of the StretchMode_t constants can be assigned to this property.
Default value: Stretch_FitWindowToHost
This property is always safe.
|
getset |
Indicates whether keyboard events will be sent as Unicode characters or as scan codes.
Default value: : false (Send scan codes)
This property is always safe.
|
getset |
Use one-time password scheme for the next connection.
Default value: FALSE.
BeginSession() method uses this value when establishing a new connection.
This property is always safe.
|
getproperty |
Control version (read only property).
This property is always safe.