如何在Windows应用程序中锁定.dll文件? [英] How to lock the .dll files in windows application?

查看:339
本文介绍了如何在Windows应用程序中锁定.dll文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何锁定Windows应用程序中的.dll文件,以便没有人反汇编我的dll文件并复制代码?给我正确答案?



我是什么尝试过:



我尝试过在线提供的所有免费工具,但这是浪费时间而且没用?还尝试了visual studio的dotfuscator工具。

how to lock the .dll files in windows application such that nobody dissassemble my dll files and copy code ?Give me proper answer?

What I have tried:

I have tried all free tools available online but that are waste of time and not useful? also tried dotfuscator tool of visual studio.

推荐答案

基本上,你不能。

问题在于,为了成为一体有用的是,DLL文件必须是计算机可读的 - 这意味着它也可以被用户读取。因为我可以读取它的二进制内容,所以我可以弄清楚计算机应遵循的指令。

如果能做到这一点,我可以弄清楚你的程序是做什么的,以及它是如何做到的。如果我不能这样做,那么计算机也没有,然后你的应用程序无法读取DLL或使用它的任何内容。



最好的你可以使用混淆器来使我的生活变得困难 - 并非不可能,但比你根本不使用它更难。
Basically, you can't.
The problem is that in order to be at all useful, the DLL files has to be readable by the computer - which means it's readable by a user as well. And because I can read it's binary content, I can work out what the instructions the computer is supposed to obey are.
And If can do that, I can work out what you program does, and how it does it. If I couldn't do that, neither could the computer, and then your app couldn't read the DLL or use any of its contents.

The best you can do is use an obfuscator to make my life difficult - not impossible, but harder than it would be if you didn't use one at all.


这篇关于如何在Windows应用程序中锁定.dll文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆