ZennoLab Assemblies Documentation
UserAgentAppVersion Property
Example 
Gets or set the version information of the browser.
Syntax
string UserAgentAppVersion {get; set;}

Property Value

Type: System.String

The version information of the browser of profile.

Example
The following example uses property UserAgentAppVersion of profile.
// get version information of the browser
string userAgentAppVersion = project.Profile.UserAgentAppVersion;
 
// set version information of the browser
project.Profile.UserAgentAppVersion = "5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1";
// get version information of the browser
$userAgentAppVersion = $project->Profile->UserAgentAppVersion;
 
// set version information of the browser
$project->Profile->UserAgentAppVersion = "5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1";
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IProfile Interface
IProfile Members

Send Feedback