C# 클래스 Cornerstone.Tools.DriveInfoHelper

파일 보기 프로젝트 열기: damienhaynes/moving-pictures

공개 메소드들

메소드 설명
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.

메소드 상세

GetDriveInfo() 공개 정적인 메소드

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
리턴 System.IO.DriveInfo

GetDriveInfoFromFilePath() 공개 정적인 메소드

Gets the DriveInfo object for a given path.
public static GetDriveInfoFromFilePath ( string path ) : DriveInfo
path string
리턴 System.IO.DriveInfo