UserAgent Property

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Gets or Sets the User Agent HTTP 1.1 header sent on any webrequest

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public string UserAgent { get; set; }
Visual Basic
Public Property UserAgent As String
	Get
	Set
Visual C++
public:
property String^ UserAgent {
	String^ get ();
	void set (String^ value);
}

See Also