[VB6 equivalent: PKI_ErrorLookup]
Dim nErrCode As Integer
Dim strErrMsg As String
nErrCode = 25
strErrMsg = General.ErrorLookup(nErrCode)
Console.WriteLine("ErrorLookup(" & nErrCode & ")=" & strErrMsg)
See Also:
General.ErrorLookup Method