I have to show 5 buttons: Win32, Win64, Linux32, Linux64, MacOs. I have to decorate one button. Decorated button depends of user's os and 32-bit or 64-bit. How can I do it? I use ASP.NET vNext. Also we can use JS, but ASP.NET vNext in priority.
Asked
Active
Viewed 43 times
0
-
Try and parse it from the useragent string? – TZHX Sep 30 '15 at 13:52
-
That's good idea, but I can't get a bit of OS. I have to understand: is it x32 or x64?. – Kostya Vyrodov Sep 30 '15 at 14:04
-
This might help [http://stackoverflow.com/questions/1741933/detect-64-bit-or-32-bit-windows-from-user-agent-or-javascript](http://stackoverflow.com/questions/1741933/detect-64-bit-or-32-bit-windows-from-user-agent-or-javascript) – Daniel J.G. Sep 30 '15 at 14:45