ZennoLab Assemblies Documentation
UserAgentPlatform Property
Example 
Gets or sets the current platform.
Syntax
string UserAgentPlatform {get; set;}

Property Value

Type: System.String

The current platform.

Example
The following example uses property UserAgentProduct of profile.
// get current platform
string platform = project.Profile.UserAgentPlatform;
 
// set current platform
project.Profile.UserAgentPlatform = "Win32";
// get current platform
$platform = $project->Profile->UserAgentPlatform;
 
// set current platform
$project->Profile->UserAgentPlatform = "Win32";
Requirements

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

See Also

Reference

IProfile Interface
IProfile Members

Send Feedback