Gets or set the name of the browser.
Syntax
| C# | |
|---|
string UserAgentAppName {get; set;} |
Property Value
Type: System.String
The name of the browser of profile.
Example
The following example uses property
UserAgentAppName of profile.
| C# | Copy Code |
|---|
// get name of the browser
string userAgentAppName = project.Profile.UserAgentAppName;
// set name of the browser
project.Profile.UserAgentAppName = "Netscape"; |
| PHP | Copy Code |
|---|
// get name of the browser
$userAgentAppName = $project->Profile->UserAgentAppName;
// set name of the browser
$project->Profile->UserAgentAppName = "Netscape"; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also