|Manuals

BrowserInfo Class

Overview

The BrowserInfo class stores information about the end-user’s screen, web browser, the window containing VirtualUI Viewer, and the VirtualUI Viewer itself. The latter runs inside an HTML DIV element contained in a browser frame or window.

Class Hierarchy

Class Definition

public class BrowserInfo : IBrowserInfo, IDisposable;

The class implements the IBrowserInfo and IDisposable interfaces, enabling resource management and proper disposal.

Location

Purpose

Provides access to relevant technical data about the client environment, facilitating the interaction between the VirtualUI Viewer application and the end-user’s web browser.

Members

Type Link
Constructor BrowserInfo()
Methods Methods
Properties Properties

Methods

Method Description
Constructor Creates a new instance of BrowserInfo
Dispose Releases resources used by the instance
GetCookie Gets the value of a browser cookie
SetCookie Sets a cookie in the browser
SetCookieEx Sets a cookie in the browser with a path and additional cookie attributes

Properties

Property Description
ViewWidth Returns the width of the VirtualUI Viewer
ViewHeight Returns the height of the VirtualUI Viewer
BrowserWidth Returns the width of the HTML element containing VirtualUI Viewer
BrowserHeight Returns the height of the HTML element containing VirtualUI Viewer
ScreenWidth Returns the width of the end-user’s monitor screen
ScreenHeight Returns the height of the end-user’s monitor screen
Username Retrieves the logged-on Username
IPAddress Returns the client IP address
UserAgent Returns the browser User Agent string
UniqueBrowserId Identifies a specific browser instance
Location Returns the URL of the current application
CustomData Retrieves or modifies custom application data
ScreenResolution Returns the screen resolution as defined in the application profile
Orientation Returns the current browser orientation
SelectedRule Returns the currently selected browser rule