From 1374758ffbc282743068bf80a8268d025b8cdb73 Mon Sep 17 00:00:00 2001 From: antiduh Date: Fri, 11 Jul 2014 22:18:12 +0000 Subject: [PATCH] Fixed the number formatting in the SSPIException so that the error code comes out '0x....'. --- NSspi/SSPIException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSspi/SSPIException.cs b/NSspi/SSPIException.cs index f9d3dab..c8e2938 100644 --- a/NSspi/SSPIException.cs +++ b/NSspi/SSPIException.cs @@ -71,7 +71,7 @@ public override string Message get { return string.Format( - "{0}. Error Code = '{1:X}' - \"{2}\".", + "{0}. Error Code = '0x{1:X}' - \"{2}\".", this.message, this.errorCode, EnumMgr.ToText(this.errorCode)