GetLogicalDrives() public static méthode

public static GetLogicalDrives ( ) : string[]
Résultat string[]
 public static DriveInfo[] GetDrives()
 {
     string[]    drives = DriveInfoInternal.GetLogicalDrives();
     DriveInfo[] result = new DriveInfo[drives.Length];
     for (int i = 0; i < drives.Length; i++)
     {
         result[i] = new DriveInfo(drives[i]);
     }
     return(result);
 }
Exemple #2
0
 public static string[] GetLogicalDrives()
 {
     return(DriveInfoInternal.GetLogicalDrives());
 }
Exemple #3
0
 public override string[] GetLogicalDrives()
 {
     return(DriveInfoInternal.GetLogicalDrives());
 }
Exemple #4
0
 public static string[] GetLogicalDrives()
 => DriveInfoInternal.GetLogicalDrives();