Directory.GetLogicalDrives()
-
hi I want to list out the drives on my device. i wrote this code for .net compact framework: string[] dList = System.IO.Directory.GetLogicalDrives(); for (int i = 0; i < dList.Length; i++) { MessageBox.Show(dList[i]); } But on compilation i get the error saying that "System.IO.Directory.GetLogicalDrives()" is not supported. Can anyone please help. Thnaks
-
hi I want to list out the drives on my device. i wrote this code for .net compact framework: string[] dList = System.IO.Directory.GetLogicalDrives(); for (int i = 0; i < dList.Length; i++) { MessageBox.Show(dList[i]); } But on compilation i get the error saying that "System.IO.Directory.GetLogicalDrives()" is not supported. Can anyone please help. Thnaks
-
My device supports compact framework. a wince device doesnot have drives, it has storage places. so i dont know how to list them out.