Ergebnis 1 bis 2 von 2
-
Bin neu hier
- 13.05.2009, 10:52
- #1
Hallo Leute,
wie ermittelt man Laufwerke in einem HTC Touch HD. Auf dem Gerät gibt es ja internes Laufwerk und die micro SD Speicherkarte; wie kann man diese 2 in einem Combobox auflisten. Environment.GetLogicalDrive() oder Directory.GetLogicalDrive() gibt es ja nicht unter Compact Framework. Womit kann man tun
Vielen Dank im voraus.
-
entwickelt Apps
- 13.05.2009, 15:36
- #2
Das root Verzeichnis ist @"\".
Und folgende Methode retourniert das Verzeichnis der Speicherkarte oder null:
Code:private static string GetStorageCardPath() { DirectoryInfo di = new DirectoryInfo(@"\"); FileSystemInfo[] fsi = di.GetFileSystemInfos(); foreach (FileSystemInfo fileSystemInfo in fsi) { if ((fileSystemInfo.Attributes & FileAttributes.Temporary) == FileAttributes.Temporary) { return fileSystemInfo.FullName; } } return null; }
Ähnliche Themen
-
Wie lange hält der Akku beim HTC Touch HD?
Von juelu im Forum Touch HD SonstigesAntworten: 212Letzter Beitrag: 13.06.2010, 15:03 -
Wie installiert man Programme für den Touch HD?
Von hutziputz im Forum Touch HD AnwendungsprogrammeAntworten: 8Letzter Beitrag: 26.07.2009, 13:42 -
Wie Software installieren beim HTC Touch Hd
Von Piega85 im Forum Touch HD AnwendungsprogrammeAntworten: 9Letzter Beitrag: 15.04.2009, 19:36 -
Wie kann man ALLES von HD zu HD kopieren?
Von xyz111 im Forum Touch HD CommunicationAntworten: 4Letzter Beitrag: 08.02.2009, 14:18 -
Wie bringt man einem franz. Qtek 9090 Deutsch bei?
Von Yannick im Forum PlaudereckeAntworten: 0Letzter Beitrag: 23.12.2004, 19:38

Danke:

![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/rss.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/facebook.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/twitter.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/google.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/youtube.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/instagram.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/hover_rss.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/hover_facebook.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/hover_twitter.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/hover_google.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/hover_youtube.png)
![[C#] Wie ermittelt man Laufwerke in einem HTC Touch HD](https://www.pocketpc.ch/magazin/wp-content/plugins/social_sidebar/img/hover_instagram.png)
Tedera Pulse bewertungen