C# Class Cornerstone.Extensions.IO.FileInfoExtensions

ファイルを表示 Open project: damienhaynes/moving-pictures

Public Methods

Method Description
ComputeSHA1Hash ( this self ) : string

Generates a SHA1-Hash from a given filepath

ComputeSmartHash ( this self ) : string

Calculates a unique hash for the contents of the file. Use this method to compute hashes of large files.

IsLocked ( this self ) : bool

Gets a value indicating whether this file is accessible (for reading)

Method Details

ComputeSHA1Hash() public static method

Generates a SHA1-Hash from a given filepath
public static ComputeSHA1Hash ( this self ) : string
self this
return string

ComputeSmartHash() public static method

Calculates a unique hash for the contents of the file. Use this method to compute hashes of large files.
public static ComputeSmartHash ( this self ) : string
self this
return string

IsLocked() public static method

Gets a value indicating whether this file is accessible (for reading)
public static IsLocked ( this self ) : bool
self this
return bool