HttpWebRequest.UserAgent Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the value of the User-agent HTTP header.
Assembly: System.Net (in System.Net.dll)
Property Value
Type: System.StringThe value of the User-agent HTTP header. The default value is Nothing.
Note: |
|---|
The value for this property is stored in WebHeaderCollection. If WebHeaderCollection is set, the property value is lost. |
Show:
Note: