User agent to specify in HTTP request header.

Namespace:  AForge.Video
Assembly:  AForge.Video (in AForge.Video.dll) Version: (


public string HttpUserAgent { get; set; }


Some IP cameras check what is the requesting user agent and depending on it they provide video in different formats or do not provide it at all. The property sets the value of user agent string, which is sent to camera in request header.

Default value is set to "Mozilla/5.0". If the value is set to nullNothingnullptra null reference (Nothing in Visual Basic), the user agent string is not sent in request header.

See Also