using System; using System.Collections; using System.ComponentModel.Design; using System.Reflection; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides properties and methods to add a license to a component and to manage a . This class cannot be inherited. // Token: 0x02000153 RID: 339 [Token(Token = "0x2000153")] public sealed class LicenseManager { // Token: 0x0600081F RID: 2079 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600081F")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] private LicenseManager() { } /// Gets or sets the current , which specifies when you can use the licensed object. /// A that specifies when you can use the licensed object. /// The property is currently locked and cannot be changed. // Token: 0x17000186 RID: 390 // (get) Token: 0x06000820 RID: 2080 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000821 RID: 2081 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x17000186")] public static LicenseContext CurrentContext { [Token(Token = "0x6000820")] [Address(RVA = "0xC5C6F0", Offset = "0xC5B6F0", VA = "0x180C5C6F0")] get { return null; } [Token(Token = "0x6000821")] [Address(RVA = "0xC5C990", Offset = "0xC5B990", VA = "0x180C5C990")] set { } } /// Gets the which specifies when you can use the licensed object for the . /// One of the values, as specified in the property. // Token: 0x17000187 RID: 391 // (get) Token: 0x06000822 RID: 2082 RVA: 0x00005058 File Offset: 0x00003258 [Token(Token = "0x17000187")] public static LicenseUsageMode UsageMode { [Token(Token = "0x6000822")] [Address(RVA = "0xC5C8C0", Offset = "0xC5B8C0", VA = "0x180C5C8C0")] get { return LicenseUsageMode.Runtime; } } // Token: 0x06000823 RID: 2083 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000823")] [Address(RVA = "0xC5AF10", Offset = "0xC59F10", VA = "0x180C5AF10")] private static void CacheProvider(Type type, LicenseProvider provider) { } /// Creates an instance of the specified type, given a context in which you can use the licensed instance. /// A that represents the type to create. /// A that specifies when you can use the licensed instance. /// An instance of the specified type. // Token: 0x06000824 RID: 2084 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000824")] [Address(RVA = "0xC5B130", Offset = "0xC5A130", VA = "0x180C5B130")] public static object CreateWithContext(Type type, LicenseContext creationContext) { return null; } /// Creates an instance of the specified type with the specified arguments, given a context in which you can use the licensed instance. /// A that represents the type to create. /// A that specifies when you can use the licensed instance. /// An array of type that represents the arguments for the type. /// An instance of the specified type with the given array of arguments. // Token: 0x06000825 RID: 2085 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000825")] [Address(RVA = "0xC5B1B0", Offset = "0xC5A1B0", VA = "0x180C5B1B0")] public static object CreateWithContext(Type type, LicenseContext creationContext, object[] args) { return null; } // Token: 0x06000826 RID: 2086 RVA: 0x00005070 File Offset: 0x00003270 [Token(Token = "0x6000826")] [Address(RVA = "0xC5B3F0", Offset = "0xC5A3F0", VA = "0x180C5B3F0")] private static bool GetCachedNoLicenseProvider(Type type) { return default(bool); } // Token: 0x06000827 RID: 2087 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000827")] [Address(RVA = "0xC5B5F0", Offset = "0xC5A5F0", VA = "0x180C5B5F0")] private static LicenseProvider GetCachedProvider(Type type) { return null; } // Token: 0x06000828 RID: 2088 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000828")] [Address(RVA = "0xC5B4D0", Offset = "0xC5A4D0", VA = "0x180C5B4D0")] private static LicenseProvider GetCachedProviderInstance(Type providerType) { return null; } // Token: 0x06000829 RID: 2089 RVA: 0x00005088 File Offset: 0x00003288 [Token(Token = "0x6000829")] [Address(RVA = "0xC5B710", Offset = "0xC5A710", VA = "0x180C5B710")] private static IntPtr GetLicenseInteropHelperType() { return 0; } /// Returns whether the given type has a valid license. /// The to find a valid license for. /// /// if the given type is licensed; otherwise, . // Token: 0x0600082A RID: 2090 RVA: 0x000050A0 File Offset: 0x000032A0 [Token(Token = "0x600082A")] [Address(RVA = "0xC5B790", Offset = "0xC5A790", VA = "0x180C5B790")] public static bool IsLicensed(Type type) { return default(bool); } /// Determines whether a valid license can be granted for the specified type. /// A that represents the type of object that requests the . /// /// if a valid license can be granted; otherwise, . // Token: 0x0600082B RID: 2091 RVA: 0x000050B8 File Offset: 0x000032B8 [Token(Token = "0x600082B")] [Address(RVA = "0xC5B900", Offset = "0xC5A900", VA = "0x180C5B900")] public static bool IsValid(Type type) { return default(bool); } /// Determines whether a valid license can be granted for the specified instance of the type. This method creates a valid . /// A that represents the type of object that requests the license. /// An object of the specified type or a type derived from the specified type. /// A that is a valid license, or if a valid license cannot be granted. /// /// if a valid can be granted; otherwise, . // Token: 0x0600082C RID: 2092 RVA: 0x000050D0 File Offset: 0x000032D0 [Token(Token = "0x600082C")] [Address(RVA = "0xC5B880", Offset = "0xC5A880", VA = "0x180C5B880")] public static bool IsValid(Type type, object instance, out License license) { return default(bool); } /// Prevents changes being made to the current of the given object. /// The object whose current context you want to lock. /// The context is already locked. // Token: 0x0600082D RID: 2093 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600082D")] [Address(RVA = "0xC5B9F0", Offset = "0xC5A9F0", VA = "0x180C5B9F0")] public static void LockContext(object contextUser) { } /// Allows changes to be made to the current of the given object. /// The object whose current context you want to unlock. /// /// represents a different user than the one specified in a previous call to . // Token: 0x0600082E RID: 2094 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600082E")] [Address(RVA = "0xC5BB70", Offset = "0xC5AB70", VA = "0x180C5BB70")] public static void UnlockContext(object contextUser) { } // Token: 0x0600082F RID: 2095 RVA: 0x000050E8 File Offset: 0x000032E8 [Token(Token = "0x600082F")] [Address(RVA = "0xC5C350", Offset = "0xC5B350", VA = "0x180C5C350")] private static bool ValidateInternal(Type type, object instance, bool allowExceptions, out License license) { return default(bool); } // Token: 0x06000830 RID: 2096 RVA: 0x00005100 File Offset: 0x00003300 [Token(Token = "0x6000830")] [Address(RVA = "0xC5BCE0", Offset = "0xC5ACE0", VA = "0x180C5BCE0")] private static bool ValidateInternalRecursive(LicenseContext context, Type type, object instance, bool allowExceptions, out License license, out string licenseKey) { return default(bool); } /// Determines whether a license can be granted for the specified type. /// A that represents the type of object that requests the license. /// A cannot be granted. // Token: 0x06000831 RID: 2097 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000831")] [Address(RVA = "0xC5C400", Offset = "0xC5B400", VA = "0x180C5C400")] public static void Validate(Type type) { } /// Determines whether a license can be granted for the instance of the specified type. /// A that represents the type of object that requests the license. /// An of the specified type or a type derived from the specified type. /// A valid . /// The type is licensed, but a cannot be granted. // Token: 0x06000832 RID: 2098 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000832")] [Address(RVA = "0xC5C520", Offset = "0xC5B520", VA = "0x180C5C520")] public static License Validate(Type type, object instance) { return null; } // Token: 0x040004EF RID: 1263 [Token(Token = "0x40004EF")] private static readonly object selfLock; // Token: 0x040004F0 RID: 1264 [Token(Token = "0x40004F0")] private static LicenseContext context; // Token: 0x040004F1 RID: 1265 [Token(Token = "0x40004F1")] private static object contextLockHolder; // Token: 0x040004F2 RID: 1266 [Token(Token = "0x40004F2")] private static Hashtable providers; // Token: 0x040004F3 RID: 1267 [Token(Token = "0x40004F3")] private static Hashtable providerInstances; // Token: 0x040004F4 RID: 1268 [Token(Token = "0x40004F4")] private static object internalSyncObject; // Token: 0x02000154 RID: 340 [Token(Token = "0x2000154")] private class LicenseInteropHelper { // Token: 0x06000834 RID: 2100 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000834")] [Address(RVA = "0xC5A830", Offset = "0xC59830", VA = "0x180C5A830")] private static object AllocateAndValidateLicense(RuntimeTypeHandle rth, IntPtr bstrKey, int fDesignTime) { return null; } // Token: 0x06000835 RID: 2101 RVA: 0x00005118 File Offset: 0x00003318 [Token(Token = "0x6000835")] [Address(RVA = "0xC5AD30", Offset = "0xC59D30", VA = "0x180C5AD30")] private static int RequestLicKey(RuntimeTypeHandle rth, ref IntPtr pbstrKey) { return 0; } // Token: 0x06000836 RID: 2102 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000836")] [Address(RVA = "0xC5AB50", Offset = "0xC59B50", VA = "0x180C5AB50")] private void GetLicInfo(RuntimeTypeHandle rth, ref int pRuntimeKeyAvail, ref int pLicVerified) { } // Token: 0x06000837 RID: 2103 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000837")] [Address(RVA = "0xC5AA10", Offset = "0xC59A10", VA = "0x180C5AA10")] private void GetCurrentContextInfo(ref int fDesignTime, ref IntPtr bstrKey, RuntimeTypeHandle rth) { } // Token: 0x06000838 RID: 2104 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000838")] [Address(RVA = "0xC5AE60", Offset = "0xC59E60", VA = "0x180C5AE60")] private void SaveKeyInCurrentContext(IntPtr bstrKey) { } // Token: 0x06000839 RID: 2105 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000839")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] public LicenseInteropHelper() { } // Token: 0x040004F5 RID: 1269 [Token(Token = "0x40004F5")] private const int S_OK = 0; // Token: 0x040004F6 RID: 1270 [Token(Token = "0x40004F6")] private const int E_NOTIMPL = -2147467263; // Token: 0x040004F7 RID: 1271 [Token(Token = "0x40004F7")] private const int CLASS_E_NOTLICENSED = -2147221230; // Token: 0x040004F8 RID: 1272 [Token(Token = "0x40004F8")] private const int E_FAIL = -2147483640; // Token: 0x040004F9 RID: 1273 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004F9")] private DesigntimeLicenseContext helperContext; // Token: 0x040004FA RID: 1274 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40004FA")] private LicenseContext savedLicenseContext; // Token: 0x040004FB RID: 1275 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40004FB")] private Type savedType; // Token: 0x02000155 RID: 341 [Token(Token = "0x2000155")] internal class CLRLicenseContext : LicenseContext { // Token: 0x0600083A RID: 2106 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600083A")] [Address(RVA = "0x49A4C0", Offset = "0x4994C0", VA = "0x18049A4C0")] public CLRLicenseContext(LicenseUsageMode usageMode, Type type) { } // Token: 0x17000188 RID: 392 // (get) Token: 0x0600083B RID: 2107 RVA: 0x00005130 File Offset: 0x00003330 [Token(Token = "0x17000188")] public override LicenseUsageMode UsageMode { [Token(Token = "0x600083B")] [Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000", Slot = "5")] get { return LicenseUsageMode.Runtime; } } // Token: 0x0600083C RID: 2108 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600083C")] [Address(RVA = "0xC511A0", Offset = "0xC501A0", VA = "0x180C511A0", Slot = "6")] public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { return null; } // Token: 0x0600083D RID: 2109 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600083D")] [Address(RVA = "0xC51230", Offset = "0xC50230", VA = "0x180C51230", Slot = "8")] public override void SetSavedLicenseKey(Type type, string key) { } // Token: 0x040004FC RID: 1276 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004FC")] private LicenseUsageMode usageMode; // Token: 0x040004FD RID: 1277 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40004FD")] private Type type; // Token: 0x040004FE RID: 1278 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40004FE")] private string key; } } } }