[Mono-list] How can the assembly check the OS it's on?
Sat, 08 Mar 2003 01:18:52 +0400
>I'd like my compiled assembly to detect it, and I'd rather not use an
>App.config file for this.
I think that you need to use Pinvoke. For Windows you can use the registry
to get the Windows name and version, and in Linux you can get the version
from the Environment variable,
Help STOP SPAM with the new MSN 8 and get 2 months FREE*