title: How do I set a default User Agent on an HttpClient?
body: <p>It's easy to <a href="https://stackoverflow.com/questions/33659663/how-to-set-user-agent-with-system-net-webrequest-in-c-sharp">set a user agent</a> on an HttpRequest, but often I want to use a single HttpClient and use the same user agent every time, rather than having to set it on each request.</p>