CryptoSys PKI Pro Manual

Hash.HexFromFile Method

Create hash digest in hex format of a binary file.

Syntax

[C#]
public static string HexFromFile(
   string fileName,
   HashAlgorithm hashAlg 
)
[VB]
Public Shared Function HexFromFile (
   fileName As String,
   hashAlg As HashAlgorithm 
) As String

Parameters

fileName  String
Name of file containing message data
hashAlg  HashAlgorithm
Hash algorithm to be used

Return Value

String
Message digest in hex-encoded format

See Also

VB6/C equivalent: HASH_HexFromFile

[Contents] [Index]

[PREV: Hash.HexFromBytes Method...]   [Contents]   [Index]   
   [NEXT: Hash.HexFromHex Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.