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

◆ RequestLicKey()

string Internal.Runtime.InteropServices.LicenseInteropProxy.RequestLicKey ( Type type)
inline

Definition at line 89 of file LicenseInteropProxy.cs.

90 {
91 object[] array = new object[4] { null, type, null, null };
92 if (!(bool)_validateTypeAndReturnDetails.Invoke(null, BindingFlags.DoNotWrapExceptions, null, array, null))
93 {
94 throw new COMException();
95 }
96 ((IDisposable)array[2])?.Dispose();
97 string text = (string)array[3];
98 if (text == null)
99 {
100 throw new COMException();
101 }
102 return text;
103 }
object? Invoke(object? obj, object?[]? parameters)

References Internal.Runtime.InteropServices.LicenseInteropProxy._validateTypeAndReturnDetails, System.array, System.Reflection.MethodBase.Invoke(), System.text, and System.type.

Referenced by Internal.Runtime.InteropServices.ComActivator.LicenseClassFactory.RequestLicKey().