Re: How To Check Mono is installed or Not

"Paul F. Johnson" <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Organization Home
Message-ID <[email protected]>
Hi,

> Grep the result of process.start(mono

That assumes you have a .NET runtime installed and that grep is on the
box in question.

Big answer is there isn't an easy one as different operating systems
install differently.

If the user has Vista/Win7 installed, they'll definately have the .NET
runtime environment installed, so process.start(...) is an option. If
they're on a linux box, it depends if mono came in rpm/deb format or is
self built. Something similar applies to a mac.

ls /usr/bin | grep "mono" 

will work for Linux and mac...

Fun...

TTFN

Paul

-- 
Vertraue mir, ich weiss, was ich mache...

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.