[Mono-devel-list] What about adding Mono.Runtime.GetVersion()?

Kornél Pál kornelpal at hotmail.com
Thu Jun 2 17:11:30 EDT 2005


Hi,

Ben Maurer and Lluis Sanchez persuaded me of using .NET Framework version in
Environment.Version is correct.

But currently there is not way to get the version of Mono runtime
programmatically.

So I think adding Mono.Runtime.GetVersion() to mscorlib.dll could be a good
solution.

I did not found any Mono specific assembly that is suitable for adding such
a method.

The Runtime class is internal it is good because it preserves compatibility
with .NET Framework but it's methods can be invoked using reflection.

Please comment my idea.

Kornél




More information about the Mono-devel-list mailing list