Fixed the number formatting in the SSPIException so that the error code comes out '0x....'.

This commit is contained in:
antiduh
2014-07-11 22:18:12 +00:00
parent 4bfe7d8bc9
commit 1374758ffb

View File

@@ -71,7 +71,7 @@ namespace NSspi
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)