[Mono-list] Detect OS using mono framework

Oleg Deribas thisaddressisnotmine at td.selfip.net
Thu Mar 27 00:06:35 EDT 2008


Scott Graves wrote:

> I now have a requirement to execute a method based on the targeted OS. 
> As of today, the code is 100% portable across OS X, Linux, and Wn32. 
> Using the mono framework, is there a way to determine this by using a 
> Conditional attribute or any other means?

Partially it is described here:


More information about the Mono-list mailing list