cuteeditor 6.4 破解

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Text;
using System.Security.Cryptography;

namespace Test
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            System.Security.Cryptography.DESCryptoServiceProvider des = new System.Security.Cryptography.DESCryptoServiceProvider();
            des.IV = new byte[] { 70, 0x35, 50, 0x42, 0x31, 0x38, 0x36, 70 };
            des.Key = new byte[] { 70, 0x35, 50, 0x42, 0x31, 0x38, 0x36, 70 };
            using (FileStream fs = new FileStream("c:\\cuteeditor.lic", FileMode.Create, FileAccess.Write, FileShare.None))
            {
                using (CryptoStream cs = new CryptoStream(fs, des.CreateEncryptor(), CryptoStreamMode.Write))
                {
                    using (StreamWriter sw = new StreamWriter(cs))
                    {
                        sw.Write("None;zh-cn;None;8H489467LS631834L;CuteEditor.Editor for asp.net is licensed.;1.6;5;lvmiaomu.com;125.76.229.233;09/09/2099");
                    }
                }
                Console.ReadLine();
            }
        }
    }
}

你可能感兴趣的:(editor)