[Mono-list] Implementation of
'System.Runtime.InteropServices.RuntimeEnvironment.cs'
Gonzalo Paniagua Javier
gonzalo@ximian.com
26 Apr 2003 04:11:21 +0200
El sáb, 26 de 04 de 2003 a las 02:18, Dominik Fretz escribió:
> Hello
>
> Gonzalo Paniagua Javier wrote:
> [snip]
> >
> > And there's a simpler way:
> >
> > public static string GetRuntimeDirectory ()
> > {
> > return Path.GetDirectoryName (typeof (int).Assembly.Location);
> > }
> >
> > -Gonzalo
>
> Ok, I changed it and atttacht the file.
> If this is okay, feel free to comit.
It's in CVS now.
SystemConfigurationFile should be easy to implement (there's already an
internal call in other assembly that returns the machine.config file
path).
GetSystemVersion should return the mono runtime version (ie, 0.23 as of
now). I have a patch for Environment.Version to get that version number
and we could use it here too.
Thanks!
-Gonzalo