如何使用.net_reactor?

问题描述 投票:0回答:1

有人之前使用过.net_reactor来保护代码吗?我已经保护可执行程序集但不知何故没有许可证文件,我仍然设法运行可执行文件

enter image description here

enter image description here

试过示例项目,输出如下:

enter image description here

enter image description here

我还使用SDK创建了一个示例项目,以获取不同参数值的值,如下所示:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using License;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            string HardwareID;
            string HardwareIDLicense;
            InitializeComponent();
            HardwareID=License.Status.GetHardwareID(true, true, true, false);

            HardwareIDLicense = License.Status.License_HardwareID;
            MessageBox.Show("HardwareID" + HardwareID);
            MessageBox.Show("HardwaeIDLicense" + HardwareIDLicense);
        }
    }
}

我得到了HardwareIDLicense的以下输出:

enter image description here

它是空的:任何人都知道为什么?我需要设置什么?

许可证文件也已生成。

enter image description here

.net visual-studio reactor
1个回答
0
投票

我之前使用过.net reactor,你的代码仍然是可运行的。

根据您尝试完成的操作,您的代码将可以运行。使用.net reactor的主要原因是对代码进行模糊处理。混淆不会阻止您的代码被运行它只会使您的代码更难以反编译。

如果您要锁定组件,请确保遵循此过程的.net reactor文档。只运行.net reactor不会锁定程序集。见 - http://www.eziriz.com/help/source/quick_lock.html

© www.soinside.com 2019 - 2024. All rights reserved.