terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
WindowsIdentity.cs
Go to the documentation of this file.
1using System;
9
11{
12 [global::System.Runtime.InteropServices.ComVisible(true)]
13 [global::Cpp2ILInjected.Token(Token = "0x200032B")]
14 [global::System.Serializable]
15 public class WindowsIdentity : global::System.Security.Claims.ClaimsIdentity, IIdentity, global::System.Runtime.Serialization.IDeserializationCallback, global::System.Runtime.Serialization.ISerializable, global::System.IDisposable
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6001B59")]
18 [global::Cpp2ILInjected.Address(RVA = "0x1B1F140", Offset = "0x1B1F140", Length = "0x64")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WindowsIdentity), Member = "GetCurrent", ReturnType = typeof(WindowsIdentity))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Claims.ClaimsIdentity), Member = ".ctor", MemberParameters = new object[]
22 {
23 typeof(IIdentity),
24 typeof(global::System.Collections.Generic.IEnumerable<global::System.Security.Claims.Claim>),
25 typeof(string),
26 typeof(string),
27 typeof(string),
28 typeof(bool)
29 }, ReturnType = typeof(void))]
30 public WindowsIdentity(global::System.IntPtr userToken, string type, WindowsAccountType acctType, bool isAuthenticated)
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6001B5A")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1B1F300", Offset = "0x1B1F300", Length = "0x3C")]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Claims.ClaimsIdentity), Member = ".ctor", MemberParameters = new object[]
39 {
40 typeof(IIdentity),
41 typeof(global::System.Collections.Generic.IEnumerable<global::System.Security.Claims.Claim>),
42 typeof(string),
43 typeof(string),
44 typeof(string),
45 typeof(bool)
46 }, ReturnType = typeof(void))]
47 public WindowsIdentity(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6001B5B")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1B1F33C", Offset = "0x1B1F33C", Length = "0xA4")]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Claims.ClaimsPrincipal), Member = "DeserializeIdentities", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Claims.ClaimsIdentity), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Security.Claims.ClaimsIdentity) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Inequality", MemberParameters = new object[]
59 {
60 typeof(global::System.IntPtr),
61 typeof(global::System.IntPtr)
62 }, ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "ToInt64", ReturnType = typeof(long))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WindowsIdentity), Member = "SetToken", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
66 internal WindowsIdentity(global::System.Security.Claims.ClaimsIdentity claimsIdentity, global::System.IntPtr userToken)
67 {
68 throw null;
69 }
70
71 [global::System.Runtime.InteropServices.ComVisible(false)]
72 [global::Cpp2ILInjected.Token(Token = "0x6001B5C")]
73 [global::Cpp2ILInjected.Address(RVA = "0x1B1F3E0", Offset = "0x1B1F3E0", Length = "0x50")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
76 public void Dispose()
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x6001B5D")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1B1F430", Offset = "0x1B1F430", Length = "0x7C")]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebRequest", Member = "SafeCaptureIdenity", ReturnType = typeof(WindowsIdentity))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WindowsIdentity), Member = ".ctor", MemberParameters = new object[]
86 {
87 typeof(global::System.IntPtr),
88 typeof(string),
90 typeof(bool)
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x6001B5E")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1B1F4B0", Offset = "0x1B1F4B0", Length = "0x5C")]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WindowsImpersonationContext), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x17000314")]
109 public sealed override string AuthenticationType
110 {
111 [global::Cpp2ILInjected.Token(Token = "0x6001B5F")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1B1F594", Offset = "0x1B1F594", Length = "0x8")]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
114 get
115 {
116 throw null;
117 }
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x17000315")]
121 public override string Name
122 {
123 [global::Cpp2ILInjected.Token(Token = "0x6001B60")]
124 [global::Cpp2ILInjected.Address(RVA = "0x1B1F59C", Offset = "0x1B1F59C", Length = "0x68")]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
127 get
128 {
129 throw null;
130 }
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x6001B61")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1B1F608", Offset = "0x1B1F608", Length = "0x2B8")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetValue", MemberParameters = new object[]
139 {
140 typeof(string),
141 typeof(global::System.Type)
142 }, ReturnType = typeof(object))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
145 {
146 typeof(string),
147 typeof(string)
148 }, ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetBoolean", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x6001B62")]
158 [global::Cpp2ILInjected.Address(RVA = "0x1B1F8C0", Offset = "0x1B1F8C0", Length = "0x170")]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
161 {
162 typeof(string),
163 typeof(object)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
166 {
167 typeof(string),
168 typeof(bool)
169 }, ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
171 private void System.Runtime.Serialization.ISerializable.GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x6001B63")]
177 [global::Cpp2ILInjected.Address(RVA = "0x1B1FA30", Offset = "0x1B1FA30", Length = "0x4")]
178 [global::Cpp2ILInjected.CallAnalysis.CallAnalysisNotSupported]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 internal global::System.Security.Claims.ClaimsIdentity CloneAsBase()
181 {
182 throw null;
183 }
184
185 [global::Cpp2ILInjected.Token(Token = "0x6001B64")]
186 [global::Cpp2ILInjected.Address(RVA = "0x1B1FB74", Offset = "0x1B1FB74", Length = "0x8")]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
188 internal global::System.IntPtr GetTokenInternal()
189 {
190 throw null;
191 }
192
193 [global::Cpp2ILInjected.Token(Token = "0x6001B65")]
194 [global::Cpp2ILInjected.Address(RVA = "0x1B1F1A4", Offset = "0x1B1F1A4", Length = "0x15C")]
195 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WindowsIdentity), Member = ".ctor", MemberParameters = new object[]
197 {
198 typeof(global::System.Security.Claims.ClaimsIdentity),
199 typeof(global::System.IntPtr)
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_IsUnix", ReturnType = typeof(bool))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Equality", MemberParameters = new object[]
204 {
205 typeof(global::System.IntPtr),
206 typeof(global::System.IntPtr)
207 }, ReturnType = typeof(bool))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
210 private void SetToken(global::System.IntPtr token)
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x6001B66")]
216 [global::Cpp2ILInjected.Address(RVA = "0x1B1F4AC", Offset = "0x1B1F4AC", Length = "0x4")]
217 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
218 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
219 [MethodImpl(4096)]
220 internal static extern global::System.IntPtr GetCurrentToken();
221
222 [global::Cpp2ILInjected.Token(Token = "0x6001B67")]
223 [global::Cpp2ILInjected.Address(RVA = "0x1B1F604", Offset = "0x1B1F604", Length = "0x4")]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
225 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
226 [MethodImpl(4096)]
227 private static extern string GetTokenName(global::System.IntPtr token);
228
229 // Note: this type is marked as 'beforefieldinit'.
230 [global::Cpp2ILInjected.Token(Token = "0x6001B68")]
231 [global::Cpp2ILInjected.Address(RVA = "0x1B1FB7C", Offset = "0x1B1FB7C", Length = "0x68")]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
235 {
236 throw null;
237 }
238
239 [global::Cpp2ILInjected.Token(Token = "0x4000DEE")]
240 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
241 private global::System.IntPtr _token;
242
243 [global::Cpp2ILInjected.Token(Token = "0x4000DEF")]
244 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
245 private string _type;
246
247 [global::Cpp2ILInjected.Token(Token = "0x4000DF0")]
248 [global::Cpp2ILInjected.FieldOffset(Offset = "0x88")]
250
251 [global::Cpp2ILInjected.Token(Token = "0x4000DF1")]
252 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8C")]
253 private bool _authenticated;
254
255 [global::Cpp2ILInjected.Token(Token = "0x4000DF2")]
256 [global::Cpp2ILInjected.FieldOffset(Offset = "0x90")]
257 private string _name;
258
259 [global::Cpp2ILInjected.Token(Token = "0x4000DF3")]
260 [global::Cpp2ILInjected.FieldOffset(Offset = "0x98")]
261 private global::System.Runtime.Serialization.SerializationInfo _info;
262
263 [global::Cpp2ILInjected.Token(Token = "0x4000DF4")]
264 private static global::System.IntPtr invalidWindows;
265 }
266}
class f__AnonymousType0<< Count > j__TPar
static global::System.IntPtr invalidWindows
WindowsIdentity(global::System.IntPtr userToken, string type, WindowsAccountType acctType, bool isAuthenticated)
static string GetTokenName(global::System.IntPtr token)
virtual WindowsImpersonationContext Impersonate()
WindowsIdentity(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
static global::System.IntPtr GetCurrentToken()
void SetToken(global::System.IntPtr token)
global::System.Security.Claims.ClaimsIdentity CloneAsBase()
global::System.Runtime.Serialization.SerializationInfo _info
WindowsIdentity(global::System.Security.Claims.ClaimsIdentity claimsIdentity, global::System.IntPtr userToken)
void GetObjectData(SerializationInfo info, StreamingContext context)