Share via


HttpListenerRequest.UserAgent Property

Gets the user agent presented by the client.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public string UserAgent { get; }

Property Value

A String object that contains the text of the request's User-Agent.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpListenerRequest Class
HttpListenerRequest Members
System.Net Namespace