CryptoSys PKI Toolkit Manual
Hash.HexFromFile Method
Creates hash digest in hex format of a binary file
Syntax
[C#]
public static string HexFromFile(
string fileName,
HashAlgorithm hashAlg
)
[VB.NET]
Public Shared Function HexFromFile ( _
fileName As String, _
hashAlg As HashAlgorithm _
) As String
Parameters
- fileName
- Name of file containing message data
- hashAlg
- Type: HashAlgorithm
Hash algorithm to be used
Return Value
Message digest in hex-encoded format
Examples (VB.NET)
See
Example1
See Also
VB6/C equivalent: HASH_HexFromFile
[Contents] [Index]