Tuesday, November 11, 2008

Determine OS version with .NET Compact Framework

If you are running a Device application and want to know (in the code) which platform you are running on (it could be CE.NET or Windows Mobile or various versions of each), then you can use:

Environment.OSVersion.Platform

For much more information and several examples, see:

http://www.christec.co.nz/blog/archives/77

No comments: