⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 license.cs

📁 老外Logix Mobile mCoreLib短信控件源码 通过串口或者手机数据线进行连接,可对手机进行 读写操作.
💻 CS
📖 第 1 页 / 共 5 页
字号:
namespace mCore
{
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Reflection;
    using System.Runtime.InteropServices;
    using System.Security.Cryptography;
    using System.Text;

    public class License : ILicense, IDisposable
    {
        private string a = "";
        private string b = "";
        private string c = "";
        private f d;
        private bool e = false;

        internal License(ref SMS A_0)
        {
            this.d = A_0.gm;
        }

        private void a()
        {
            if (this.d.ac.Length > 0)
            {
                switch (this.d.ac.ToUpper())
                {
                    case "GENERAL":
                        throw new GeneralException("ERROR " + this.d.z.ToString() + ": " + this.d.y);

                    case "SMSSEND":
                        throw new SMSSendException("ERROR " + this.d.z.ToString() + ": " + this.d.y);

                    case "SMSREAD":
                        throw new SMSReadException("ERROR " + this.d.z.ToString() + ": " + this.d.y);

                    case "SMSDELETE":
                        throw new SMSDeleteException("ERROR " + this.d.z.ToString() + ": " + this.d.y);

                    case "WAPPUSH":
                        throw new WapPushException("ERROR " + this.d.z.ToString() + ": " + this.d.y);

                    case "VCARD":
                        throw new vCardException("ERROR " + this.d.z.ToString() + ": " + this.d.y);

                    case "VCALENDAR":
                        throw new vCalendarException("ERROR " + this.d.z.ToString() + ": " + this.d.y);
                }
            }
        }

        internal bool a([Optional, DefaultParameterValue(true)] bool A_0)
        {
            string str5 = this.d.l("g\x001dZ!M^RT\x0011DTWFi\x001ffk\\T\x0011oGDn1}");
            string str6 = this.d.l("\x0004!5bqiH5hu$ k5$\0\f}#j[");
            string str3 = this.a(this.c.ToUpper() + str6 + str5);
            string str2 = "";
            string str4 = "";
            string str = "";
            try
            {
                str = this.a(Assembly.GetEntryAssembly().GetName().Name.Trim().ToUpper() + str6 + str5);
            }
            catch (Exception exception1)
            {
                ProjectData.SetProjectError(exception1);
                Exception exception = exception1;
                ProjectData.ClearProjectError();
            }
            bool ag = false;
            try
            {
                if (this.d.ag)
                {
                    if (((A_0 & (this.d.ai != this.d.cb)) & !f.e) & (str != "DD8AEDBF792091BAEB89D0AA2CCBA8D4"))
                    {
                        f.f = new a(this.d.ag, this.a, this.c, this.d.p, this.d.ah, this.d.b8, this.d.b9, this.d.ca);
                        f.e = f.f.f();
                    }
                    return true;
                }
                this.d.ah = this.d.b8;
                this.d.a.b(this.d.l("\x0001r^\"\vX,D\n&Od>R\x0011?b'C,Q6Q\x0001cJG@"));
                if (!(((this.a.Length != 0) & (this.b.Length != 0)) & (this.c.Length != 0)))
                {
                    goto Label_28F1;
                }
                this.d.ag = false;
                str2 = this.a(this.a(this.a.ToUpper())).ToUpper();
                str4 = this.a(this.a(this.b.ToUpper())).ToUpper();
                string str7 = str3.ToUpper();
                if (str7 == "8A229CDFCD69B9673D1821FD0D091317")
                {
                    if ((str2 == "F32164917DCEEB7E00BA67DC556EA2DD") & (str4 == "3F3876D1F237E071489B89646773DC03"))
                    {
                        this.d.ag = true;
                        this.d.ah = this.d.ca;
                        this.d.ai = this.d.cb;
                    }
                    goto Label_28B6;
                }
                if (str7 != "23BD214D86A4B4B8C3E4377D64BC2771")
                {
                    goto Label_1236;
                }
                if (str == "DD8AEDBF792091BAEB89D0AA2CCBA8D4")
                {
                    this.d.ag = true;
                }
                else
                {
                    string str8 = str2;
                    switch (str8)
                    {
                        case "31C280BE35082887C6B5815A77152B16":
                        case "2ACE8D8488B628153346992514D399D9":
                            if (str4 == "CDFCC57C79BFA2575C4947C18ABC3F97")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "20996F14637824270B3A95BA4CB7805A":
                        case "D722EBECDE31C627C679FB700176EA74":
                        case "AC6BF098839FDF85CBFC699B1A182ECF":
                        case "66D60E7785AF2DAAD9BBF794DB45F726":
                            if (str4 == "B104C1A8309AB8F80B46689EC24B039A")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "CFF4BBE401EFA34D05AAF75FC81EF31F":
                        case "13823470A643807CFF99C290C7D0990C":
                        case "052DAB623292E28BB480C9326DCB3522":
                        case "B23834649C3076BB6ADA21ACD875F11D":
                        case "E21E05E6EDE3694D9C7A08687ABAF613":
                        case "6B6D96AB092756956C9AF81D199041C8":
                        case "050D00C89AD4A3A9B8F4908E5F797D06":
                        case "6AC0B41A3333626706288ADD3CE84CA9":
                        case "7ED814D25E16338302B438B6B6CCE906":
                        case "91E6267C4A66F05928DB2C11FA3159AE":
                        case "99F31E8C2255F1B22769364FDDD4BDCC":
                        case "91274FD951B6D3233544DE063DCB8807":
                            if (str4 == "CCFFB094323268101484282E8BC5D7C7")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "656F26CA59D70A05119465CB8AD4EFF1":
                        case "71BDD7C39BB8B824AB5764EDDF4B35C6":
                        case "8DC11F7F8A700CD09A1CFDE958472598":
                        case "76B4F53A68F396A1B01923A5143681D3":
                        case "BBCA5BF0097681278B68AA4CF303D706":
                        case "A64F6B80E18ECAF9105AE853B8E043F5":
                        case "515CD34C4E2F485E967AED09901F00F5":
                        case "9D6E28F32EF8429BC330A7A300C701BA":
                            if (str4 == "50584A8EC25A0447CCE8516FB4D3AD0F")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "5BB6459C41D9378A2C38CEA4DFAF553F":
                        case "34A832FB481BC7DB3CAFDDE1F2185CEE":
                        case "250EE18E70D9AED7EF49BFE8494532B6":
                        case "EA8A06816052FA13A8DAA12BB082DB82":
                        case "DCA9ECCBDAC1178125A3E3CA8D6AB928":
                        case "863D52C60AC5069E2BF50B09305A11AD":
                        case "25F24C717C046DE91A6F6DC81C9362F5":
                        case "CD5FBA7F9D7D8AA22CE2586056443362":
                        case "6970100C4E80C96A3676DEC4991783A4":
                        case "537A95656D5C75C1288F82AF32B7B2E8":
                            if (str4 == "33D776DC6ED48BD398B99C3FF0F77428")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "9EBD3D61BEDF48B19A829F7D8288B665":
                        case "6CE1B826249BDE240D497AA50CD77589":
                        case "50C3541551304961EDD14C9B8D0D497F":
                        case "FEF017396FE37E081839280299D066C2":
                        case "E05A6D4DCE2A9B1CEE33348AB28A8556":
                        case "0B7FDF467DCDB20E663D33A7DD0264F5":
                            if (str4 == "E13FE95F079CEB4F88DE4C9D65C77202")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "CDA1E4B14F007C9C6D1186FF985D8C12":
                        case "054B0C24E4A78A28F9943EED7410AE71":
                            if (str4 == "32992934C8E13AF228DF8DFEB58D8B55")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "A1150FE412493E835A87A61E3EF080D2":
                        case "845354A57FE5F80F23E0EEC665C07253":
                        case "FED3AB5222857C486EB07CC977A8995C":
                            if (str4 == "97213E42CF30D457BD63C028099E6965")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "2E2C45ACD952159FAA8655746E56869B":
                        case "804787B2B7122D0738D7C83BFC2DC2FA":
                        case "8BDBD6CEDBAD398130070DC7D4294061":
                        case "CB54D926D850FEF2FCF5B104AB657580":
                            if (str4 == "245631D9264A89B0D8F6A6C10F4E727F")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "A4423167CAF397D38738DA7FC6C570C8":
                        case "1FFA981371287A820D57445DE4E29E21":
                            if (str4 == "4323063C6BD84E643DFA5B2D1B93C945")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "02A797D917300BBB30E626B402B8154E":
                        case "8B77C78CF11AEB6527AB0915C34BFA86":
                            if (str4 == "FB3138F5450720325357B9BEEE4E919F")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "EB788CEC8CBF1D959BBEF11E5A89FF1F":
                        case "7ED67CE08579347704CDB27AF0600808":
                            if (str4 == "B05888B2AE431591A1515366E2CE4948")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "28DEBE0C0B65E4C3F25B2C3644D4D1CD":
                        case "4D693342C74B71D19B051021409FF1CF":
                            if (str4 == "D44DF7B3B70A159FA3F4EF2CCB838E5B")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "C78E70255370821577712E0F6FDCF218":
                        case "667611A0A82F82292250F6BCEA58DC36":
                            if (str4 == "B9D3307ACB70987C7DA0F337C3DBAD60")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "360BC3A183D005424C69B1F3A89C37A5":
                        case "DE545C2DDCE0310BCD55D1343A58ABFD":
                            if (str4 == "01B62B043F246D7503C42291B947D08E")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "B21ED73897302554703B96C4F0F79F0C":
                        case "8F0C268293FA7BDE8C31C4CA85FB0D8D":
                            if (str4 == "04597978DB38F70F7F78CEDF18ADF863")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "6D52661B8529BDA6481484CE1D333913":
                        case "FE21E532600FC7B543FE12FE813F4FAE":
                        case "05816B3EC7ED2CDBCC74DC0515970539":
                            if (str4 == "8239A88A798DFDEA20A6E9260208A741")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "5B6A06F9A01DA21A551932131AD14E15":
                        case "2CD4DF6D61978F81A874A2DE9ECA0D92":
                            if (str4 == "F22C8EFC52737D9E14C4EA196E433D23")
                            {
                                this.d.ag = true;
                            }
                            goto Label_11F5;

                        case "F37BE50A6116B195CD0775919901C4F0":
                        case "23F32835DF7C38EC85C3469DED4B948C":
                            if (str4 == "1FD102DCADCD8B4856D3E27D05EA0F7D")
                            {
                                this.d.ag = true;
                            }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -