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

◆ CreateRuntimeContext()

static CLRLicenseContext System.ComponentModel.LicenseManager.CLRLicenseContext.CreateRuntimeContext ( Type type,
string key )
inlinestatic

Definition at line 31 of file LicenseManager.cs.

32 {
33 CLRLicenseContext cLRLicenseContext = new CLRLicenseContext(type, LicenseUsageMode.Runtime);
34 if (key != null)
35 {
36 cLRLicenseContext.SetSavedLicenseKey(type, key);
37 }
38 return cLRLicenseContext;
39 }
CLRLicenseContext(Type type, LicenseUsageMode mode)

References System.ComponentModel.LicenseManager.CLRLicenseContext.CLRLicenseContext(), System.key, System.ComponentModel.LicenseManager.CLRLicenseContext.SetSavedLicenseKey(), and System.type.