determining UI2, UI3, UI4, etc programmatically

I’m just wondering if there is a way to programmatically determine what UI (2, 3, 4) someones vera box is running. I was thinking possibly the version numbers could give you a hint? I’m working on an application for WP7 and would like to make things as automatic as possible. Thanks.

Spencer :slight_smile: