C# Класс Cornerstone.Extensions.IO.FileInfoExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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)

Описание методов

ComputeSHA1Hash() публичный статический Метод

Generates a SHA1-Hash from a given filepath
public static ComputeSHA1Hash ( this self ) : string
self this
Результат string

ComputeSmartHash() публичный статический Метод

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
Результат string

IsLocked() публичный статический Метод

Gets a value indicating whether this file is accessible (for reading)
public static IsLocked ( this self ) : bool
self this
Результат bool