[Mono-list] Runtime Platform Conditional Magic

Samuel Kaufman skaufman@elite.net
Sun, 08 Feb 2004 22:35:46 -0800


--=-O5QmFS2GSamFL//eRyWl
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

What would be the best way for an application to check if it's running
in Windows or another OS with Mono?  Right now I'm going with
compile-time stuff... #ifdef NOT_WINDOWS, but everyone knows
cross-platform EXEs are cool.

--=-O5QmFS2GSamFL//eRyWl
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAJypBbukrDfd+Q4gRAp9jAJ0T0xPHYaKIhDTlBALIKuO6iVG33gCglf96
rMd2cKirAQcbYzw8/omJr1U=
=3Xqe
-----END PGP SIGNATURE-----

--=-O5QmFS2GSamFL//eRyWl--