Mono Class Library: System.Net.HttpWebRequest Overview | Members

System.Net.HttpWebRequest.UserAgent Property

Gets or sets the value of the HTTP User-agent header.

public string UserAgent { set; get; }

Value

A string containing the value of the HTTP User-agent header. The default value is null.

Remarks

Note: For additional information see section 14.43 of IETF RFC 2616 - HTTP/1.1.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0