Click or drag to resize

SatDefaultDigestAlg Method

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

Namespace: FirmaSAT
Assembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntax
public static string DefaultDigestAlg(
	string xmlFile
)

Parameters

xmlFile  String
Name of XML file

Return Value

String
"SHA-1" or "SHA-256"; or "!ERROR!" if an error occurred.
Example
C#
Console.WriteLine(Sat.DefaultDigestAlg("cfdv40-ejemplo.xml"));  // SHA-256
See Also