I am trying to determine if the application is running in a simulator or on a hardware device (Apple iPhone).
Various answers suggest that I do the following:
bool isSimulator = MonoTouch.ObjCRuntime.Runtime.Arch ==
MonoTouch.ObjCRuntime.Arch.SIMULATOR;
which I added to the file of AppDelegate.csmy application for iOS. But it compiles - I don't have enough namespace or assembly.
Here is a pic of the FULL method (color-coded showing that it cannot find the static property):

source
share