Hi there, I'm wondering if anyone has looked at detecting HoloLens devices from their user agent? Here is a sample user agent from a HoloLens 2 running Edge:
Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 Edg/93.0.961.52
I see in browser-test.json the following user agents for desktop, iOS, and Android Edge. It looks like the main differentiator between them and HoloLens is that HoloLens only has Windows NT 10.0, whereas the others have Windows NT 10.0; foo. Perhaps we could use that to differentiate HoloLens?
In this current situation, it seems too general to conclude something specific. There may be other devices with the same pattern, which can produce false positive result.
Hi there, I'm wondering if anyone has looked at detecting HoloLens devices from their user agent? Here is a sample user agent from a HoloLens 2 running Edge:
I see in
browser-test.json
the following user agents for desktop, iOS, and Android Edge. It looks like the main differentiator between them and HoloLens is that HoloLens only hasWindows NT 10.0
, whereas the others haveWindows NT 10.0; foo
. Perhaps we could use that to differentiate HoloLens?