Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

64 lines
2.4 KiB
C#

using System;
using System.Collections;
using System.Reflection;
using Cpp2IlInjected;
namespace System.ComponentModel.Design
{
/// <summary>Represents a design-time license context that can support a license provider at design time.</summary>
// Token: 0x020001B9 RID: 441
[Token(Token = "0x20001B9")]
public class DesigntimeLicenseContext : LicenseContext
{
/// <summary>Gets the license usage mode.</summary>
/// <returns>A <see cref="T:System.ComponentModel.LicenseUsageMode" /> indicating the licensing mode for the context.</returns>
// Token: 0x17000230 RID: 560
// (get) Token: 0x06000C07 RID: 3079 RVA: 0x000068E8 File Offset: 0x00004AE8
[Token(Token = "0x17000230")]
public override LicenseUsageMode UsageMode
{
[Token(Token = "0x6000C07")]
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "5")]
get
{
return LicenseUsageMode.Runtime;
}
}
/// <summary>Gets a saved license key.</summary>
/// <param name="type">The type of the license key.</param>
/// <param name="resourceAssembly">The assembly to get the key from.</param>
/// <returns>The saved license key that matches the specified type.</returns>
// Token: 0x06000C08 RID: 3080 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C08")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "6")]
public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly)
{
return null;
}
/// <summary>Sets a saved license key.</summary>
/// <param name="type">The type of the license key.</param>
/// <param name="key">The license key.</param>
// Token: 0x06000C09 RID: 3081 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C09")]
[Address(RVA = "0xC53430", Offset = "0xC52430", VA = "0x180C53430", Slot = "8")]
public override void SetSavedLicenseKey(Type type, string key)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesigntimeLicenseContext" /> class.</summary>
// Token: 0x06000C0A RID: 3082 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C0A")]
[Address(RVA = "0xC53490", Offset = "0xC52490", VA = "0x180C53490")]
public DesigntimeLicenseContext()
{
}
// Token: 0x04000649 RID: 1609
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000649")]
internal Hashtable savedLicenseKeys;
}
}