public static Hashtable GetProperties()
{
if (properties == null) {
properties = new Hashtable ();
properties ["user.home"] = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
properties ["java.library.path"] = Environment.GetEnvironmentVariable ("PATH");
if (Path.DirectorySeparatorChar != '\\')
properties ["os.name"] = "Unix";
else
properties ["os.name"] = "Windows";
}
return properties;
}