P
Peter Foot [MVP]
You can check the System.Environment.OSVersion.Platform property. On Windows
CE devices this will be WinCE, other values will be returned when run in the
full framework on desktop windows machines.
e.g.
if(Environment.OSVersion.Platform==PlatformID.WinCE)
{
//do device stuff
}
else
{
//do desktop stuff
}
Peter
CE devices this will be WinCE, other values will be returned when run in the
full framework on desktop windows machines.
e.g.
if(Environment.OSVersion.Platform==PlatformID.WinCE)
{
//do device stuff
}
else
{
//do desktop stuff
}
Peter