A helper class for the Live SDK, works for WP7, WP8, Win8.