[Mono-devel-list] [PATCH] Added Mono.Runtime.GetVersion()

Kornél Pál kornelpal at hotmail.com
Sat Jun 4 10:30:55 EDT 2005


This patch adds a new internal static GetVersion() method to the internal
class Mono.Runtime in mscorlib.dll.

I created this funtion because there is no way to obtain the version of Mono
runtime programmatically altought I think it is necessary.

It is internal to preserve compatibility with .NET Framework but can be
called using reflection or using the hack that you create your own
Mono.Runtime.GetVersion() method in your assembly but it is not recommended.

configure.in stuff is from the patch Duncan Mak in bug #39264.

Comments are welcome.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MonoVersion.diff
Type: application/octet-stream
Size: 4033 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050604/b31f32f8/attachment.obj 

More information about the Mono-devel-list mailing list