GetLogicalDrives() public static method

public static GetLogicalDrives ( ) : string[]
return string[]
Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public static string[] GetLogicalDrives()
 {
     return(DriveInfoInternal.GetLogicalDrives());
 }
Exemplo n.º 3
0
 public override string[] GetLogicalDrives()
 {
     return(DriveInfoInternal.GetLogicalDrives());
 }
Exemplo n.º 4
0
 public static string[] GetLogicalDrives()
 => DriveInfoInternal.GetLogicalDrives();