C# Class Cornerstone.Extensions.IO.FileInfoExtensions

Afficher le fichier Open project: damienhaynes/moving-pictures

Méthodes publiques

Méthode 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 méthode

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

ComputeSmartHash() public static méthode

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
Résultat string

IsLocked() public static méthode

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