C# Class Cornerstone.Tools.DriveInfoHelper

Afficher le fichier Open project: damienhaynes/moving-pictures

Méthodes publiques

Méthode Description
GetDriveInfo ( string drive ) : DriveInfo

Gets the DriveInfo object for the given driveletter When the object was created before it will be returned from cache.

GetDriveInfoFromFilePath ( string path ) : DriveInfo

Gets the DriveInfo object for a given path.

Method Details

GetDriveInfo() public static méthode

Gets the DriveInfo object for the given driveletter When the object was created before it will be returned from cache.
public static GetDriveInfo ( string drive ) : DriveInfo
drive string
Résultat System.IO.DriveInfo

GetDriveInfoFromFilePath() public static méthode

Gets the DriveInfo object for a given path.
public static GetDriveInfoFromFilePath ( string path ) : DriveInfo
path string
Résultat System.IO.DriveInfo