SatDefaultDigestAlg Method |
Return default digest (hash) algorithm for the XML document type.
Namespace: FirmaSATAssembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntaxpublic static string DefaultDigestAlg(
string xmlFile
)
Public Shared Function DefaultDigestAlg (
xmlFile As String
) As String
Parameters
- xmlFile String
- Name of XML file
Return Value
String"SHA-1" or "SHA-256";
or "!ERROR!" if an error occurred.
ExampleConsole.WriteLine(Sat.DefaultDigestAlg("cfdv40-ejemplo.xml"));
See Also