UtilHashingComputeHashOfFileT(FileInfo) Method

Computes a hash for the specified file using the given hash algorithm.

Definition

Namespace: DevCase.Core.Security.Cryptography.Hashing
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string ComputeHashOfFile<T>(
	FileInfo file
)
where T : HashAlgorithm

Parameters

file  FileInfo
The file.

Type Parameters

T
The HashAlgorithm provider.

Return Value

String
An Hexadecimal representation of the resulting hash value.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also