System.ComponentModel.LicenseManager
namespace System.ComponentModel
{
public sealed class LicenseManager
{
public static LicenseContext CurrentContext { get; set; }
public static LicenseUsageMode UsageMode { get; }
public static object CreateWithContext(Type type, LicenseContext creationContext);
public static object CreateWithContext(Type type, LicenseContext creationContext, object[] args);
public static bool IsLicensed(Type type);
public static bool IsValid(Type type);
public static bool IsValid(Type type, object instance, out License license);
public static void LockContext(object contextUser);
public static void UnlockContext(object contextUser);
public static void Validate(Type type);
public static License Validate(Type type, object instance);
}
}