Hi Michi,
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Michi Henning
>
> Another way to do this is to invert the test and avoid the
> issue entirely:
And the application is broken when an enum value Win64 is
introduced. I think Miguels test
Miguel de Icaza wrote:
Hello,
2. Lots of existing code don't care about the framework version. In that
case it's easier to use code that will work on both versions, like:
using System;
class Program {
static void Main ()
{
int p = (int) Environment.OSVersion.Platfor
Hello,
> 2. Lots of existing code don't care about the framework version. In that
> case it's easier to use code that will work on both versions, like:
>
> using System;
>
> class Program {
>
> static void Main ()
> {
> int p = (int) Environment.OSVersion.Platform;
>
Hello,
The original frameworks (both 1.0 and 1.1) didn't have a value to
identity Unix (and Unix-like) operating systems. Mono has been using the
value 128 up to now to identity them.
The framework v2.0 introduce a new Unix enum value (4) in PlatformID,
but this isn't compatible with the existing