Never mind, the internal property Environment.Platform always return 128 on
unix ...

The translation to PlatformID.Unix is done in the static OSVersion property.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:mono-devel-list-
> [EMAIL PROTECTED] On Behalf Of Gert Driesen
> Sent: zondag 27 augustus 2006 13:19
> To: [EMAIL PROTECTED]
> Subject: [Mono-dev] [PATCH] Environment.IsRunningOnWindows fix
> 
> Hi,
> 
> The attached patch fixes an issue where the internal property
> Environment.IsRunningOnWindows return true when running on unix in the
> 2.0 profile.
> 
> I don't quite understand why this issue did not yet cause any problems.
> 
> Let me know if it's ok to commit.
> 
> Gert

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to