From 5018ba17c2740329b1e3676ca5c57344d02a1e17 Mon Sep 17 00:00:00 2001 From: Matt Sullivan Date: Mon, 1 May 2017 00:10:56 +1000 Subject: [PATCH] Fix SSPIException serialization It was failing due to a typo in a field name. --- NSspi/SSPIException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSspi/SSPIException.cs b/NSspi/SSPIException.cs index c8e2938..cdf9004 100644 --- a/NSspi/SSPIException.cs +++ b/NSspi/SSPIException.cs @@ -35,7 +35,7 @@ namespace NSspi protected SSPIException( SerializationInfo info, StreamingContext context ) : base( info, context ) { - this.message = info.GetString( "messsage" ); + this.message = info.GetString("message"); this.errorCode = (SecurityStatus)info.GetUInt32( "errorCode" ); }