Is there a way of at runtime (or compile time) telling what system the code
is running on?

I have some code which will run on Windows X86, Ios, Mac, Android.... I want
to where possible build code that will run on all these platforms. Sometimes
somecode will need to be conditional so it there a runtime API I can call
that tells me what the platform is?

I know at compile time I could set my own #defines like DEBUG and TRACE but
I am sharing csprojs across platform so I would have to keep editing them. 

Any ideas?

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Runtime-system-identification-tp4655153.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to