ZennoLab Assemblies Documentation
UserAgentAppName Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IProfile Interface : UserAgentAppName Property

Glossary Item Box

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";
PHPCopy 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

© 2013 All Rights Reserved.