HttpClient.UserAgent

Lets you specify the User Agent browser string that is sent to the server. This allows you to simulate a specific browser if necessary.

public string UserAgent { get; set; }

See also:

Class HttpClient

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic