Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsAuthenticated

override bool System.Security.Principal.WindowsIdentity.IsAuthenticated
get

Implements System.Security.Principal.IIdentity.

Definition at line 125 of file WindowsIdentity.cs.

126 {
127 get
128 {
129 if (_isAuthenticated == -1)
130 {
131 if ((object)s_authenticatedUserRid == null)
132 {
133 s_authenticatedUserRid = new SecurityIdentifier(IdentifierAuthority.NTAuthority, new int[1] { 11 });
134 }
136 }
137 return _isAuthenticated == 1;
138 }
139 }
static SecurityIdentifier s_authenticatedUserRid
bool CheckNtTokenForSid(SecurityIdentifier sid)