I'm trying to detect when a user is on Microsoft Edge. I have a Windows 10 install running on VirtualBox. When I use the developer tools in Edge's console to check the userAgent string, this is all it returns:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko"
Well, it seems I've fixed my own issue. I had to setup a new user account on Windows 10. After logging into the new account, Microsoft Edge now reports the userAgent string correctly:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
Bizarre issue. Hope this is helpful to anyone else who runs across this problem.