I want to send a HTTP request from my c# app and I want a properly constructed user agent string so that (at least) the operating system is well represented.
I found this:
https://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx#PltToken
that allows me to look up the correct strings for a given version of windows (my app will only run on windows), but surely I'm not expected to have a lookup table myself (what if my App ran on a new version of windows, I need to update it just to add a new UA string!
There must be some API I can call to get the UA string for the current OS, I just can't seem to find it.