using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides an implementation of a . The provider works in a similar fashion to the Microsoft .NET Framework standard licensing model. // Token: 0x0200014E RID: 334 [Token(Token = "0x200014E")] public class LicFileLicenseProvider : LicenseProvider { /// Determines whether the key that the method retrieves is valid for the specified type. /// The to check. /// A that represents the component requesting the . /// /// if the key is a valid for the specified type; otherwise, . // Token: 0x06000809 RID: 2057 RVA: 0x00005028 File Offset: 0x00003228 [Token(Token = "0x6000809")] [Address(RVA = "0xC5A210", Offset = "0xC59210", VA = "0x180C5A210", Slot = "5")] protected virtual bool IsKeyValid(string key, Type type) { return default(bool); } /// Returns a key for the specified type. /// The object type to return the key. /// A confirmation that the parameter is licensed. // Token: 0x0600080A RID: 2058 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600080A")] [Address(RVA = "0xC59DA0", Offset = "0xC58DA0", VA = "0x180C59DA0", Slot = "6")] protected virtual string GetKey(Type type) { return null; } /// Returns a license for the instance of the component, if one is available. /// A that specifies where you can use the licensed object. /// A that represents the component requesting the . /// An object that requests the . /// /// if a should be thrown when a component cannot be granted a license; otherwise, . /// A valid . If this method cannot find a valid or a valid parameter, it returns . // Token: 0x0600080B RID: 2059 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600080B")] [Address(RVA = "0xC59E30", Offset = "0xC58E30", VA = "0x180C59E30", Slot = "4")] public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions) { return null; } /// Initializes a new instance of the class. // Token: 0x0600080C RID: 2060 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600080C")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] public LicFileLicenseProvider() { } // Token: 0x0200014F RID: 335 [Token(Token = "0x200014F")] private class LicFileLicense : License { // Token: 0x0600080D RID: 2061 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600080D")] [Address(RVA = "0xC5A2B0", Offset = "0xC592B0", VA = "0x180C5A2B0")] public LicFileLicense(LicFileLicenseProvider owner, string key) { } // Token: 0x17000182 RID: 386 // (get) Token: 0x0600080E RID: 2062 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000182")] public override string LicenseKey { [Token(Token = "0x600080E")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")] get { return null; } } // Token: 0x0600080F RID: 2063 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600080F")] [Address(RVA = "0xC5A250", Offset = "0xC59250", VA = "0x180C5A250", Slot = "6")] public override void Dispose() { } // Token: 0x040004EC RID: 1260 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004EC")] private string key; } } }