|Manuals

CBrowserInfo Class

Overview

Contains information regarding the end-user’s screen, web browser, the window containing VirtualUI Viewer and VirtualUI Viewer itself. The viewer operates within an HTML DIV element on the end-user’s application page.

Class Hierarchy

Syntax

class CBrowserInfo : public IBrowserInfo;

Location

  • Header File: Thinfinity.VirtualUI.h
  • Category: C++ Classes

Members

Type Link
Constructor CBrowserInfo()
Destructor ~CBrowserInfo()
Methods Methods
Properties Properties

Properties

Property Description
BrowserHeight Height of the HTML element containing the VirtualUI Viewer
BrowserWidth Width of the HTML element containing the VirtualUI Viewer
CustomData Custom application data
IPAddress Client’s IP address
Location URL of the current application
Orientation Browser’s current orientation
ScreenHeight Height of the end-user’s monitor screen
ScreenResolution Application screen resolution defined in the application profile
ScreenWidth Width of the end-user’s monitor screen
SelectedRule Currently selected Browser Rule
UniqueBrowserId Unique identifier for the browser instance
UserAgent Browser’s User Agent string
Username Logged-on Username
ViewHeight Height of the VirtualUI Viewer
ViewWidth Width of the VirtualUI Viewer

Methods

Method Description
CBrowserInfo Constructor
~CBrowserInfo Destructor
BrowserHeight Returns the height of the HTML element containing the VirtualUI Viewer
BrowserWidth Returns the width of the HTML element containing the VirtualUI Viewer
CustomData (get) Returns custom application data
CustomData (set) Sets custom application data
GetCookie Retrieves a cookie value by name
IPAddress Returns the client’s IP address
Location Returns the URL of the current application
Orientation Returns the browser’s current orientation
ScreenHeight Returns the height of the end-user’s monitor screen
ScreenResolution Returns the application screen resolution
ScreenWidth Returns the width of the end-user’s monitor screen
SelectedRule Returns the currently selected Browser Rule
SetCookie Sets a cookie with name, value, and expiration
SetCookieEx Sets a cookie with name, value, expiration, path, and additional cookie attributes
UniqueBrowserId Returns a unique identifier for the browser instance
UserAgent Returns the browser’s User Agent string
Username Returns the logged-on Username
ViewHeight (get) Returns the height of the VirtualUI Viewer
ViewHeight (set) Sets the height of the VirtualUI Viewer
ViewWidth (get) Returns the width of the VirtualUI Viewer
ViewWidth (set) Sets the width of the VirtualUI Viewer