Hi,

Am 29.05.2008 um 10:55 schrieb Zappo:

> I'd like to be able to write something like:
>
> if ( ThisIsMono() )
>   DoMonoCode()
> else
>   DoNormalCode()
>
> What I'm missing is ThisIsMono - is there any way to detect whether  
> the
> application is being run by Mono, without having to import any Mono- 
> related
> library?

http://www.mono-project.com/FAQ:_Technical#How_can_I_detect_if_am_running_in_Mono.3F

HTH,
Andreas
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to