No need to manually delete the context handle, it's under a safe handle now.
This commit is contained in:
@@ -59,12 +59,9 @@ namespace NSspi
|
||||
if( disposing )
|
||||
{
|
||||
this.Credential.Dispose();
|
||||
this.ContextHandle.Dispose();
|
||||
}
|
||||
|
||||
// TODO SAFE_CER
|
||||
ContextNativeMethods.DeleteSecurityContext( ref this.ContextHandle.rawHandle );
|
||||
|
||||
this.ContextHandle.Dispose();
|
||||
|
||||
this.disposed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user