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-2020 • Updated: 07/15/20
Comment or report problem with topic