Rough implementation of impersonation.

This commit is contained in:
antiduh
2014-06-25 20:12:46 +00:00
parent 9118815314
commit 5f3fd64169
4 changed files with 124 additions and 10 deletions

View File

@@ -39,7 +39,10 @@ namespace NSspi.Contexts
protected virtual void Dispose( bool disposing )
{
if( disposing && this.server != null && this.server.Disposed == false )
{
this.server.RevertImpersonate();
}
}
}