PSUserAgent Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Constructs the Useragent string. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

System.Object
  Microsoft.PowerShell.Commands.PSUserAgent

public static class PSUserAgent

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticChrome

The Useragent string for Chrome (7.0). Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertySystem_CAPS_staticFireFox

The Useragent string for Firefox (4.0). Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertySystem_CAPS_staticInternetExplorer

The Useragent string for InternetExplorer (9.0). Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertySystem_CAPS_staticOpera

The Useragent string for Opera (9.0). Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertySystem_CAPS_staticSafari

The Useragent string for Safari (5.0). Introduced in Windows PowerShell 3.0.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: