[Mono-list] How can the assembly check the OS it's on?
Auge Mike
tobe_better@hotmail.com
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,
Auge,
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail