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

Glossary Item Box

Gets or sets the current platform.

Syntax

C# 
string UserAgentPlatform {get; set;}

Property Value

Type: System.String

The current platform.

Example

The following example uses property UserAgentProduct of profile.
C#Copy Code
// get current platform
string platform = project.Profile.UserAgentPlatform;
 
// set current platform
project.Profile.UserAgentPlatform = "Win32";
PHPCopy Code
// get current platform
$platform = $project->Profile->UserAgentPlatform;
 
// set current platform
$project->Profile->UserAgentPlatform = "Win32";

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.