Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
IsGuest
virtual
bool
System.Security.Principal.WindowsIdentity.IsGuest
get
Definition at line
141
of file
WindowsIdentity.cs
.
142
{
143
get
144
{
145
if
(
_safeTokenHandle
.
IsInvalid
)
146
{
147
return
false
;
148
}
149
if
((
object
)
s_domainRid
==
null
)
150
{
151
s_domainRid
=
new
SecurityIdentifier(IdentifierAuthority.NTAuthority,
new
int
[2] { 32, 546 });
152
}
153
return
CheckNtTokenForSid
(
s_domainRid
);
154
}
155
}
Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.IsInvalid
override bool IsInvalid
Definition
SafeAccessTokenHandle.cs:11
System.Security.Principal.WindowsIdentity.s_domainRid
static SecurityIdentifier s_domainRid
Definition
WindowsIdentity.cs:19
System.Security.Principal.WindowsIdentity.CheckNtTokenForSid
bool CheckNtTokenForSid(SecurityIdentifier sid)
Definition
WindowsIdentity.cs:532
System.Security.Principal.WindowsIdentity._safeTokenHandle
SafeAccessTokenHandle _safeTokenHandle
Definition
WindowsIdentity.cs:33
System
Security
Principal
WindowsIdentity
Generated by
1.10.0