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: 0x02000152 RID: 338
[Token(Token = "0x2000152")]
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: 0x0600081F RID: 2079 RVA: 0x00005040 File Offset: 0x00003240
[Token(Token = "0x600081F")]
[Address(RVA = "0x4EFE30", Offset = "0x4EEC30", VA = "0x1804EFE30", 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: 0x06000820 RID: 2080 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000820")]
[Address(RVA = "0x4EF9C0", Offset = "0x4EE7C0", VA = "0x1804EF9C0", 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: 0x06000821 RID: 2081 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000821")]
[Address(RVA = "0x4EFA50", Offset = "0x4EE850", VA = "0x1804EFA50", Slot = "4")]
public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x06000822 RID: 2082 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000822")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public LicFileLicenseProvider()
{
}
// Token: 0x02000153 RID: 339
[Token(Token = "0x2000153")]
private class LicFileLicense : License
{
// Token: 0x06000823 RID: 2083 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000823")]
[Address(RVA = "0x4EFED0", Offset = "0x4EECD0", VA = "0x1804EFED0")]
public LicFileLicense(LicFileLicenseProvider owner, string key)
{
}
// Token: 0x17000186 RID: 390
// (get) Token: 0x06000824 RID: 2084 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000186")]
public override string LicenseKey
{
[Token(Token = "0x6000824")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
get
{
return null;
}
}
// Token: 0x06000825 RID: 2085 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000825")]
[Address(RVA = "0x4EFE70", Offset = "0x4EEC70", VA = "0x1804EFE70", Slot = "6")]
public override void Dispose()
{
}
// Token: 0x040004F9 RID: 1273
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004F9")]
private string key;
}
}
}