好友
阅读权限 10
听众
最后登录 1970-1-1
gaocl
发表于 2023-11-8 21:06
个人认为SoftLicenseProvider 这个部位是关键,遂点击后展开内容如下:
using System ;
using System . Collections ;
using System . ComponentModel ;
using System . Runtime . CompilerServices ;
using 1mwFQllExts99VSpST ;
using YC8OC9ybnMTkLRMSm4 ;
namespace LicenseCentral
{
// Token: 0x02000012 RID: 18
public abstract class SoftLicenseProvider : LicenseProvider
{
// Token: 0x06000049 RID: 73 RVA: 0x00002498 File Offset: 0x00000898
[ MethodImpl ( MethodImplOptions . NoInlining
public SoftLicenseProvider ()
{
}
// Token: 0x0600004A RID: 74 RVA: 0x000024A0 File Offset: 0x000008A0
[ MethodImpl ( MethodImplOptions . NoInlining
protected virtual string EncodeKey ( SoftLicenseType licType )
{
return null ;
}
// Token: 0x0600004B RID: 75 RVA: 0x000024B0 File Offset: 0x000008B0
[ MethodImpl ( MethodImplOptions . NoInlining
protected virtual SoftLicenseType ParseKey ( string key )
{
return <PrivateImplementationDetails>{11D6E26E-C4C3-411B-920F-576D41A8BAB3} . fieldimpl1 ;
}
// Token: 0x0600004C RID: 76 RVA: 0x000024BC File Offset: 0x000008BC
[ MethodImpl ( MethodImplOptions . NoInlining
public override License GetLicense ( LicenseContext context , Type type , object instance , bool allowExceptions )
{
return null ;
}
// Token: 0x0600004D RID: 77 RVA: 0x000024CC File Offset: 0x000008CC
[ MethodImpl ( MethodImplOptions . NoInlining
private static string GetSavedLicenseKey ( LicenseContext context , Type type )
{
return null ;
}
// Token: 0x0600004E RID: 78 RVA: 0x00002504 File Offset: 0x00000904
[ MethodImpl ( MethodImplOptions . NoInlining
private static void SetSavedLicenseKey ( LicenseContext context , Type type , string key )
{
}
// Token: 0x0600004F RID: 79 RVA: 0x0000250C File Offset: 0x0000090C
[ MethodImpl ( MethodImplOptions . NoInlining
public virtual UserData SaveLicenseKey ( string licenseInfo )
{
return null ;
}
// Token: 0x1700000D RID: 13
// (get) Token: 0x06000050 RID: 80
protected abstract ProductKind Kind { get ; }
// Token: 0x1700000E RID: 14
// (get) Token: 0x06000051 RID: 81
protected abstract int Version { get ; }
// Token: 0x1700000F RID: 15
// (get) Token: 0x06000052 RID: 82
protected abstract Guid ProductIdentify { get ; }
// Token: 0x17000010 RID: 16
// (get) Token: 0x06000053 RID: 83
protected abstract string PublicKey { get ; }
// Token: 0x06000054 RID: 84
public abstract string GetMachineCode ();
// Token: 0x06000055 RID: 85 RVA: 0x0000251C File Offset: 0x0000091C
[ MethodImpl ( MethodImplOptions . NoInlining
static SoftLicenseProvider ()
{
jlu9VlUx8l7734CVMZ . 1MrBTCq7I ();
9NwXAGOo43SJxjdtUy . 6U3r5Dnz8fwTd ();
SoftLicenseProvider . keys = new Hashtable ();
}
// Token: 0x04000020 RID: 32
private static readonly Hashtable keys ;
}
} [C#] 纯文本查看 复制代码
using System;using System.Collections;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using 1mwFQllExts99VSpST;
using YC8OC9ybnMTkLRMSm4;
namespace LicenseCentral
{
// Token: 0x02000012 RID: 18
public abstract class SoftLicenseProvider : LicenseProvider
{
// Token: 0x06000049 RID: 73 RVA: 0x00002498 File Offset: 0x00000898
[MethodImpl(MethodImplOptions.NoInlining)]
public SoftLicenseProvider()
{
}
// Token: 0x0600004A RID: 74 RVA: 0x000024A0 File Offset: 0x000008A0
[MethodImpl(MethodImplOptions.NoInlining)]
protected virtual string EncodeKey(SoftLicenseType licType)
{
return null;
}
// Token: 0x0600004B RID: 75 RVA: 0x000024B0 File Offset: 0x000008B0
[MethodImpl(MethodImplOptions.NoInlining)]
protected virtual SoftLicenseType ParseKey(string key)
{
return <PrivateImplementationDetails>{11D6E26E-C4C3-411B-920F-576D41A8BAB3}.fieldimpl1;
}
// Token: 0x0600004C RID: 76 RVA: 0x000024BC File Offset: 0x000008BC
[MethodImpl(MethodImplOptions.NoInlining)]
public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)
{
return null;
}
// Token: 0x0600004D RID: 77 RVA: 0x000024CC File Offset: 0x000008CC
[MethodImpl(MethodImplOptions.NoInlining)]
private static string GetSavedLicenseKey(LicenseContext context, Type type)
{
return null;
}
// Token: 0x0600004E RID: 78 RVA: 0x00002504 File Offset: 0x00000904
[MethodImpl(MethodImplOptions.NoInlining)]
private static void SetSavedLicenseKey(LicenseContext context, Type type, string key)
{
}
// Token: 0x0600004F RID: 79 RVA: 0x0000250C File Offset: 0x0000090C
[MethodImpl(MethodImplOptions.NoInlining)]
public virtual UserData SaveLicenseKey(string licenseInfo)
{
return null;
}
// Token: 0x1700000D RID: 13
// (get) Token: 0x06000050 RID: 80
protected abstract ProductKind Kind { get; }
// Token: 0x1700000E RID: 14
// (get) Token: 0x06000051 RID: 81
protected abstract int Version { get; }
// Token: 0x1700000F RID: 15
// (get) Token: 0x06000052 RID: 82
protected abstract Guid ProductIdentify { get; }
// Token: 0x17000010 RID: 16
// (get) Token: 0x06000053 RID: 83
protected abstract string PublicKey { get; }
// Token: 0x06000054 RID: 84
public abstract string GetMachineCode();
// Token: 0x06000055 RID: 85 RVA: 0x0000251C File Offset: 0x0000091C
[MethodImpl(MethodImplOptions.NoInlining)]
static SoftLicenseProvider()
{
jlu9VlUx8l7734CVMZ.1MrBTCq7I();
9NwXAGOo43SJxjdtUy.6U3r5Dnz8fwTd();
SoftLicenseProvider.keys = new Hashtable();
}
// Token: 0x04000020 RID: 32
private static readonly Hashtable keys;
}
}
能力有限,看不出该如何下手,请各位高人指点一二。
总体架构
发帖前要善用【论坛搜索 】 功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。