[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Winforms controls background
From: |
Gopal V |
Subject: |
Re: [DotGNU]Winforms controls background |
Date: |
Sat, 19 Jul 2003 09:31:09 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Simon Guindon wrote:
> same methods to collect stats on windows as I can on linux, so is there
> a way for me to check in runtime the platform its running on, and decide
> accordingly? If that's not possible, I'll have to make plugins for
> linux, and ones for windows.
if(Environment.OSVersion.Platform == (PlatformID)128)
{
/* unix code */
}
but be warned , OS X , HPUX, BSD and GNU all come under 128 ;-)
Gopal
--
The difference between insanity and genius is measured by success