.NET CF: detect if your app is running in the emulator

The .NET CF team has a code snippet to detect if your app is running in the emulator. If you use an emulator for debugging, this could be useful. Blog