GetSystemVersion().
svn path=/trunk/mcs/; revision=31590
+2004-07-29 Lluis Sanchez Gual <lluis@novell.com>
+
+ * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
+ GetSystemVersion().
Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
{
}
- [MonoTODO]
public static string SystemConfigurationFile
{
- get { return String.Empty; }
+ get { return Environment.GetMachineConfigPath (); }
}
return Path.GetDirectoryName (typeof (int).Assembly.Location);
}
- [MonoTODO]
public static string GetSystemVersion ()
{
- //TODO We give back the .Net (1.1) version nummber. Probabbly Environment.Version should also return this.
-
- // We probably want to return the mono runtime version here -Gonzalo
- return "v1.1.4322";
+ return "v" + Environment.Version.Major + "." + Environment.Version.Minor + "." + Environment.Version.Build;
}
}