GetDrives() public static method

public static GetDrives ( ) : System.IO.DriveInfo[]
return System.IO.DriveInfo[]
Ejemplo n.º 1
0
 public IReadOnlyList <DriveInfo> GetMountedDrives() =>
 IoDriveInfo
 .GetDrives()
 .Select(CreateFrom)
 .WhereNotNull()
 .ToArray();