Просмотр исходного кода

2004-07-11 Gonzalo Paniagua Javier <[email protected]>

	* IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".

svn path=/trunk/mcs/; revision=30997
Gonzalo Paniagua Javier 21 лет назад
Родитель
Сommit
587cecdb0c

+ 4 - 0
mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog

@@ -1,3 +1,7 @@
+2004-07-11 Gonzalo Paniagua Javier <[email protected]>
+
+	* IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
+
 2004-06-13  Gert Driesen <[email protected]>
 
 	* IsolatedStorage.cs: really mark the storage_scope field private

+ 1 - 1
mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageInfo.cs

@@ -37,7 +37,7 @@ namespace System.IO.IsolatedStorage {
 		[MonoTODO("Unix Specific; generalize for Win32")]
 		internal static string GetIsolatedStorageDirectory ()
 		{
-			string home = Environment.GetEnvironmentVariable ("HOME");
+			string home = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
 
 			if (home == null)
 				home = "~";