Determine OS versions and which GDR updates are installed on WP8 and WP7

In Windows Phone development, you’ll often need to know at run-time exactly which version of Windows Phone your application is running on.  To make this easier, feel free to use this static class below which provides you exactly which GDRs are installed and which version of the OS you’re running on. If you don’t want to…