1 write to m_safeTokenHandle
mscorlib (1)
system\security\principal\windowsimpersonationcontext.cs (1)
51
ref
m_safeTokenHandle
,
7 references to m_safeTokenHandle
mscorlib (7)
system\security\principal\windowsimpersonationcontext.cs (7)
67
if (
m_safeTokenHandle
.IsInvalid) { // the thread was not initially impersonating
75
hr = Win32.ImpersonateLoggedOnUser(
m_safeTokenHandle
);
99
if (
m_safeTokenHandle
.IsInvalid)
110
hr = Win32.ImpersonateLoggedOnUser(
m_safeTokenHandle
);
141
if (
m_safeTokenHandle
!= null && !
m_safeTokenHandle
.IsClosed) {
143
m_safeTokenHandle
.Dispose();