Source/NativeFunctions.cs
(开头部分) 23KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace DevComponents.DotNetBar
{
using System;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Security;
[Flags()]
internal enum eDrawCaption:uint /* flags for DrawCaption */
{
DC_ACTIVE=0x0001,
DC_SMALLCAP=0x0002,
DC_ICON=0x0004,
DC_TEXT=0x0008,
DC_INBUTTON=0x0010,
DC_GRADIENT=0x0020
}
/// <summary>
/// Summary description for NativeFunctions.
/// </summary>
[SuppressUnmanagedCodeSecurity()]
internal class NativeFunctions
{
#region Licensing
#if !TRIAL
internal static bool keyValidated=false;
internal static int keyValidated2=0;
internal static bool ValidateLicenseKey(string key)
{
bool ret = false;
string[] parts = key.Split('-');
int i = 10;
foreach(string s in parts)
{
if(s=="88405280")
i++;
else if(s=="D06E")
i += 10;
else if(s=="4617")
i += 8;
else if(s=="8810")
i += 12;
else if(s=="64462F60FA93")
i += 3;
}
if(i==29)
return true;
keyValidated = true;
return ret;
}
internal static bool CheckLicenseKey(string key)
{
// F962CEC7-CD8F-4911-A9E9-CAB39962FC1F, 189, 266
string[] parts = key.Split('-');
int test = 0;
for (int i = parts.Length - 1; i >= 0; i--)
{
if (parts[i] == "A9E9")
test += 11;
后面还有 678 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。