terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetSavedLicenseKey()

override string System.ComponentModel.Design.RuntimeLicenseContext.GetSavedLicenseKey ( Type type,
Assembly resourceAssembly )
inlinevirtual

Reimplemented from System.ComponentModel.LicenseContext.

Definition at line 22 of file RuntimeLicenseContext.cs.

23 {
25 if (hashtable != null)
26 {
27 if (hashtable != null)
28 {
29 goto IL_0070;
30 }
31 if (this.savedLicenseKeys == null)
32 {
33 }
34 }
37 Stream stream;
38 if (stream == null)
39 {
40 string text;
41 string fileName = Path.GetFileName(text);
42 string text2 = fileName + ".licenses";
43 if (assemblies != null)
44 {
46 return fileName;
47 }
48 goto IL_0078;
49 }
50 else
51 {
53 string text2;
54 string text3 = text2.ToUpper(invariantCulture2);
55 }
56 IL_0070:
57 if (this.savedLicenseKeys != null)
58 {
59 }
60 IL_0078:
62 if (invariantCulture3 != null)
63 {
64 string text4 = ".licenses" + ".exe.licenses";
65 if (invariantCulture3 != null)
66 {
67 string text5 = ".licenses" + ".dll.licenses";
68 if (invariantCulture3 != null)
69 {
70 }
71 }
72 }
73 while (assemblies != null)
74 {
75 }
76 throw new InvalidCastException();
77 }
class f__AnonymousType0<< Count > j__TPar
Assembly[] GetAssemblies(bool refOnly)
Definition AppDomain.cs:57
static AppDomain CurrentDomain
Definition AppDomain.cs:49
static CultureInfo InvariantCulture
static string GetFileName(string path)
Definition Path.cs:142
static Assembly GetEntryAssembly()
Definition Assembly.cs:237

References System.AppDomain.CurrentDomain, System.AppDomain.GetAssemblies(), System.Reflection.Assembly.GetEntryAssembly(), System.IO.Path.GetFileName(), System.Globalization.CultureInfo.InvariantCulture, j__TPar, System.ComponentModel.Design.RuntimeLicenseContext.savedLicenseKeys, and System.text.