Gets or set the version information of the browser.
Syntax
| C# | |
|---|
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.
| C# | Copy Code |
|---|
// 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"; |
| PHP | Copy Code |
|---|
// 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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also