Retrieve the last error message.
Namespace: FirmaSATAssembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntaxpublic static string LastError()
Public Shared Function LastError As String
Return Value
StringError message from last call (may be empty)
RemarksCall this immediately when an error is indicated.
Calling another method will overwrite the message.
This is the same as
General.LastError().
Example
int n = satSignXml("cfdv33a-out.xml", "cfdv33a-badspec.xml", "emisor.key", "12345678a", "emisor.cer");
Console.WriteLine("Error {0}: {1}", n, Sat.ErrorLookup(n));
Console.WriteLine(Sat.LastError());
See Also