How can I tell if my application has been bundled with Mono instead of executed with Mono?

101 Views Asked by At

How do I check whether my application has been started with mono (mono MyProgram.exe) or if it has been bundled with the mono runtime embedded using mkbundle or similar?

1

There are 1 best solutions below

0
On BEST ANSWER
IsBundled = (typeof(int).Assembly.Location == "mscorlib.dll");