/// <summary> /// /// </summary> public void Dispose() { if (Handle != Secur32.SecHandle.Zero) { Secur32.FreeCredentialsHandle(ref Handle); } }
/// <summary> /// /// </summary> public void Dispose() { if (_context != Secur32.SecHandle.Zero) { Secur32.DeleteSecurityContext(ref _context); } if (_credentials != Secur32.SecHandle.Zero) { Secur32.FreeCredentialsHandle(ref _credentials); } }