Return default digest (hash) algorithm for the XML document type.

Namespace:  FirmaSAT
Assembly:  diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.50.0.29531

Syntax

C#
public static string DefaultDigestAlg(
	string xmlFile
)
Visual Basic (Declaration)
Public Shared Function DefaultDigestAlg ( _
	xmlFile As String _
) As String

Parameters

xmlFile
Type: System..::.String
Name of XML file

Return Value

"SHA-1" or "SHA-256"; or "!ERROR!" if an error occurred.

Examples

CopyC#
Console.WriteLine(Sat.DefaultDigestAlg("cfdv40-ejemplo.xml"));  // SHA-256

See Also