Kornél,
As a result of long discussion about the lack of a method to obtain the version
of the Mono Runtime a new Mono.Runtime.GetDisplayName() method was added to
mscorlib.dll.
Just to make the discussion even longer:
wouldn't be less intrusive to use the environment for
the display string? Something like that:
in mono/mono/mini/driver.c
g_setenv ("MONO_RUNTIME_VERSION", whatever);
from the managed side:
string rtlVersion =
Environment.GetEnvironmentVariable("MONO_RUNTIME_VERSION");
if (rtlVersion != null) { ... }
Rob
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list