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"; |
| PHP | Copy 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