复制.NET应用程序的保护

编程入门 行业动态 更新时间:2024-10-28 20:30:45
本文介绍了复制.NET应用程序的保护的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我打算使用C#开发一个.NET应用程序,以便将它作为一个完整的软件包和/或一个完整的软件包出售,所以我需要一个很好的方法来保护它 打击盗版。我知道一些保护它的方法(激活,序列密钥, 等),但我担心的是:当你可以随时拆解时,任何复制保护机制如何工作? 它并阅读源代码?即使我使用 本机C ++ DLL进行复制保护,也可以随时找到从 C#代码中调用它的位置。 这方面有什么好的建议吗? 谢谢 马西莫

I''m planning to develop a .NET application using C#, in order to sell it as a shareware and/or as a full package, so I''ll need a good way to protect it against piracy. I know some ways to protect it (activation, serial keys, etc.), but my concern is: how can any copy protection mechanism work when you can always disassemble it and read the source code? Even if I use a native C++ DLL for my copy protection, the point where it''s called from the C# code can always be found. Any good tips about this? Thanks Massimo

推荐答案

使用好的混淆器。它至少会令人难以忍受。 我已经使用了一个来自smartowl并且看起来工作得很好。 Naveen Kohli wwwomatix " Massimo" ; < BA **** @ mclink.it>在消息中写道 新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ... Use a good obfuscator. It will atleast make it tough to disassenble. I have benn using one from wiseowl and it seems to work pretty good. Naveen Kohli wwwomatix "Massimo" <ba****@mclink.it> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl... 我'我计划使用C#开发.NET应用程序,以便将其作为共享软件和/或完整软件包出售,所以我需要一个很好的方法来保护它免受盗版。我知道一些保护它的方法(激活,串行键等),但我担心的是:当你可以随时拆解它并阅读源时,任何复制保护机制如何工作代码?即使我使用本机C ++ DLL进行复制保护,也总能找到从C#代码调用它的地方。关于这个的任何好的提示? 谢谢 Massimo I''m planning to develop a .NET application using C#, in order to sell it as a shareware and/or as a full package, so I''ll need a good way to protect it against piracy. I know some ways to protect it (activation, serial keys, etc.), but my concern is: how can any copy protection mechanism work when you can always disassemble it and read the source code? Even if I use a native C++ DLL for my copy protection, the point where it''s called from the C# code can always be found. Any good tips about this? Thanks Massimo

Massimo< ba **** @ mclink.it>写道: Massimo <ba****@mclink.it> wrote: 我打算用C#开发一个.NET应用程序,以便将它作为一个共享软件和/或一个完整的软件包出售,所以我需要保护它免受盗版的好方法。我知道一些保护它的方法(激活,串行密钥等等),但我担心的是:当你可以随时拆解它并阅读源代码时,任何复制保护机制如何工作?即使我使用原生C ++ DLL进行复制保护,也可以随时找到从C#代码中调用它的位置。关于这个的任何好的提示? I''m planning to develop a .NET application using C#, in order to sell it as a shareware and/or as a full package, so I''ll need a good way to protect it against piracy. I know some ways to protect it (activation, serial keys, etc.), but my concern is: how can any copy protection mechanism work when you can always disassemble it and read the source code? Even if I use a native C++ DLL for my copy protection, the point where it''s called from the C# code can always be found. Any good tips about this?

是的 - 别担心。如果你特别想要混淆你的代码,但是 除非你确实* 确定: a)对海盗版本有很多需求 b)技术上有能力的人愿意花费 时间反编译您的混淆代码 - Jon Skeet - < sk *** @ pobox> www.pobox/~skeet 如果回复该组,请不要给我发邮件

Yes - don''t worry. Obfuscate your code if you particularly want to, but I wouldn''t bother going any further than that unless you''re *really* sure that: a) There''ll be lots of demand for pirate copies b) There''ll be technically competent people who are willing to spend time decompiling your obfuscated code -- Jon Skeet - <sk***@pobox> www.pobox/~skeet If replying to the group, please do not mail me too

您可以检查混淆。但是根据混淆器的不同,那可能不会给你带来太大的收益。通过混淆代码可以很简单: www.atrevido/blog/PermaLi...b-fcc15eb297c3 真正的方法是使用一个工具做的不仅仅是简单的命名 混淆(比如,输入混淆,调用混淆),加密你的 程序集,然后,编写真正混乱的代码关键部分。对于 实例,您可以尝试一些技巧来伪造您的堆栈跟踪,在串行检查中使用多个 线程等。部分。 还记得,如果有需求,人们会通过并破解你的 应用程序。甚至MS Window的激活也被破解了(Windows 程序员非常聪明)。 - Michael Giagnocavo MVP www.atrevido " Massimo" < BA **** @ mclink.it>在消息中写道 新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ... You can check into obfuscating. But depending on the obfuscator, that might not buy you much. Getting thru obfuscated code can be simple: www.atrevido/blog/PermaLi...b-fcc15eb297c3 The real way is to use a tool that does a lot more than just simple naming obfuscation (say, type obfuscation as well, call obfuscation), encrypts your assembly, and then, write really messed up code for the critical part. For instance, you might try some tricks to fake your stack trace, use multiple threads, etc. in the "serial checking" part. Also remember, if there''s demand, people will get through and crack your app. Even MS Window''s activation has been cracked (and the Windows programmers are extremely intelligent). -- Michael Giagnocavo MVP www.atrevido "Massimo" <ba****@mclink.it> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl... 我'我计划使用C#开发.NET应用程序,以便将其作为共享软件和/或完整软件包出售,所以我需要一个很好的方法来保护它免受盗版。我知道一些保护它的方法(激活,串行键等),但我担心的是:当你可以随时拆解它并阅读源时,任何复制保护机制如何工作代码?即使我使用本机C ++ DLL进行复制保护,也总能找到从C#代码调用它的地方。关于这个的任何好的提示? 谢谢 Massimo I''m planning to develop a .NET application using C#, in order to sell it as a shareware and/or as a full package, so I''ll need a good way to protect it against piracy. I know some ways to protect it (activation, serial keys, etc.), but my concern is: how can any copy protection mechanism work when you can always disassemble it and read the source code? Even if I use a native C++ DLL for my copy protection, the point where it''s called from the C# code can always be found. Any good tips about this? Thanks Massimo

更多推荐

复制.NET应用程序的保护

本文发布于:2023-11-05 10:55:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560627.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!