[Mono-list] Determining runtime environment

Brad Wilson dotnetguy@pobox.com
Sat, 30 Mar 2002 20:26:02 -0700


Has any thought been placed into how to determine what your runtime
environment is? For example, I'm working on extending the NAnt file-list to
be able to search for files on the PATH. Without knowing if I'm on Unix or
Windows, though, I won't know how to properly split the PATH env var.

Is there a way (yet) to tell your operating environment from within C#?

Brad

--
Read my web log at http://www.quality.nu/dotnetguy/