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

◆ Validate() [1/2]

static void System.ComponentModel.LicenseManager.Validate ( Type type)
inlinestatic

Definition at line 343 of file LicenseManager.cs.

344 {
345 if (!ValidateInternal(type, null, allowExceptions: true, out var license))
346 {
347 throw new LicenseException(type);
348 }
349 if (license != null)
350 {
351 license.Dispose();
352 license = null;
353 }
354 }
static bool ValidateInternal(Type type, object instance, bool allowExceptions, out License license)

References System.type, and System.ComponentModel.LicenseManager.ValidateInternal().