鉴于C#.NET程序集,您可以获得哪些信息? [英] Given a C#.NET assembly, what information can you get?

查看:48
本文介绍了鉴于C#.NET程序集,您可以获得哪些信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#.NET开发一个专有系统。该程序集位于

文件夹中,可由外部人员访问。


因为关键是其他人不知道它是什么以及

它是如何实现的,我想知道任何人都可以通过检查装配来获得什么信息。

I''m developing a proprietary system in C#.NET. The assembly is in a
folder accessible by outside people.

Since it''s critical that others don''t know what it''s about and how
it''s implemented, I want to know what information anyone can get by
examining the assembly.

推荐答案

7月28日下午12:21,Curious< fir5tsi ... @ yahoo.comwrote:
On Jul 28, 12:21 pm, Curious <fir5tsi...@yahoo.comwrote:

我是在C#.NET中开发专有系统。该程序集位于

文件夹中,可由外部人员访问。


因为关键是其他人不知道它是什么以及

它是如何实现的,我想知道任何人可以通过检查程序集来获得什么信息。
I''m developing a proprietary system in C#.NET. The assembly is in a
folder accessible by outside people.

Since it''s critical that others don''t know what it''s about and how
it''s implemented, I want to know what information anyone can get by
examining the assembly.



下载一个名为Reflector的程序,然后用

打开你的程序集,你会看到你的程序集可以收集什么。 />
http://www.aisto.com/roeder/dotnet /


Chris

Download a program called Reflector and then open your assembly with
it and you will see what can be gleaned from your assembly.

http://www.aisto.com/roeder/dotnet/

Chris


我正在用C#.NET开发一个专有系统。该程序集位于
I''m developing a proprietary system in C#.NET. The assembly is in a

文件夹中,可由外部人员访问。


因为关键是其他人不要''我知道它是什么以及它是如何实现的,我想知道任何人可以通过检查装配来获得什么信息。
folder accessible by outside people.

Since it''s critical that others don''t know what it''s about and how
it''s implemented, I want to know what information anyone can get by
examining the assembly.



如果您只是将源代码编译成一个程序集而不执行任何其他工作

任何合理称职的用户都可以将其反向工程为功能相当的<只需一个免费程序和几次鼠标点击即可获得
源代码。

http://www.aisto.com/roeder/dotnet/


关于获取源代码是多么容易的快速课程(10分钟)

的.NET程序集参见: http://www.dimecasts.net/Casts/CastDetails/28


如果你认真保护你的代码有很多选项

可用,搜索混淆对于

方法的许多资源来保护托管代码程序集免于反编译。此外,微软

(以及其他一些公司)提供了使反编译托管代码变得更加困难的可能性,请参阅: http://www.microsoft.com/slps/ 获取信息

on Microsoft's提供。


免责声明:我为之工作的公司(PreEmptive Solutions)制作了一款产品

(Dotfuscator),以提高审查工程的便利性。 NET程序集。

我们在Visual Studio 2003中包含我们产品的社区版本,并且

更高,提供基本的重命名功能和我们的专业版

除了与SLPS集成之外,还提供了更多功能。

If you just compile the source code into an assembly and do nothing else
any reasonably competent user can reverse engineer it to functionaly equivalent
source code with just a freeware program and a few mouse clicks.

See: .NET Reflector at http://www.aisto.com/roeder/dotnet/

For a quick lesson (10 minutes) on how easy it is to get the source code
of .NET assemblies see: http://www.dimecasts.net/Casts/CastDetails/28

If you are serious about protecting your code there are a number of options
available, do a search on "obfuscation" for a number of resources on the
ways to protect managed code assemblies from decompilation. Also Microsoft
(and some other companies) provide the possiblity to make it even more difficult
to decompile managed code, see: http://www.microsoft.com/slps/ for information
on Microsoft''s offering.

Disclaimer: The company I work for (PreEmptive Solutions) makes a product
(Dotfuscator) to raise the bar on the ease of reverese engineering .NET assemblies.
We include a community version of our product in Visual Studio 2003 and
higher that provides basic renaming functionality and our Professional version
provides many more features, in addition to integration with SLPS.


您好Chris,


感谢您的建议!我下载了这个工具,并且能够看到所有

的程序集和类的名称。


在下载网页上,它说:


Reflector是类浏览器,资源管理器,分析器和文档

viewer for .NET。 Reflector允许在C#,Visual Basic和IL中轻松查看,导航,搜索,反编译和分析.NET程序集。


什么是反编译?意思?它是否将程序集反转回C#.NET中的

源代码?你相信Reflector可以走得那么远吗?

Hi Chris,

Thanks for the advice! I downloaded this tool and was able to see all
of the names of the methods and classes in the assembly.

On the download web page, it said:

Reflector is the class browser, explorer, analyzer and documentation
viewer for .NET. Reflector allows to easily view, navigate, search,
decompile and analyze .NET assemblies in C#, Visual Basic and IL.

What does "decompile" mean? Does it reverse the assembly back to the
source code in C#.NET? Do you believe that Reflector can go that far?


这篇关于鉴于C#.NET程序集,您可以获得哪些信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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