Cleanest way to detect if I'm on Xbox One?

“Trust us, you really don’t need that information…”