有Visual Studio制作的exe程序,我能知道它是用哪种语言制作的吗? [英] Have an exe program made by visual studio, can I know which language its made from?

查看:73
本文介绍了有Visual Studio制作的exe程序,我能知道它是用哪种语言制作的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于默认表单的背景颜色,我100%确信它是一个Visual Studio程序,但问题是我怎么知道它是由哪个程序组成的.

我认为有一种解决方法,因为回到学校时,我记得我的朋友正在分解一个程序,他说它是用Visual Basic编写的,并且向我展示了它的源代码!

必须有一种方法可以解决,可以解决还是不能解决?

I''m 100% sure that it''s a visual studio program because of the default form''s background color, but the question is how can I know which program it''s made of.

I think there''s a way to figure it out, because back to school I remember my friend decomposing a program and he said it''s made in visual basic, and he showed me it''s source code!

there must be a way to figure it out, can or can''t it be done ?

推荐答案

您好,

不,不可能100%确定...

一旦在程序集或可执行文件中编译后,C#和Vb.Net或任何.NET兼容语言实际上都以CIL(通用中间语言)翻译,这是.Net框架(或Mono)将用于执行应用程序的语言.

您可以使用Reflector之类的工具来反编译.Net程序集,并以C#,Vb.Net和多种.net编程语言显示代码,但这不会告诉您编写该软件所使用的语言. .

您可以查看代码中的线索,但并不是100%肯定.例如,如果找到对Microsoft.VisualBasic的引用,则可能使用的工具是VB.net,但没有任何保证.

结论是Reflector将向您显示一些代码,而不是原始代码!不要依赖它.

瓦莱里(Valery).
Hello,

No it is not possible to be 100% sure...

C# and Vb.Net or any .Net compliant language once compiled in an assembly or an executable are in fact translated in CIL (Common Intermediary Language), this is the language that the .Net framework (or Mono) will use to execute the application.

You can use a tool such as Reflector to decompile a .Net assembly and present the code in C#, Vb.Net, and a variety of .net programming languages, but that won''t tell you what language was use to write the software.

You can look at clues in the code, but it''s not really 100% sure. For example if you find a reference to Microsoft.VisualBasic then maybe VB.net was the tool used, but there is no guaranty.

Conclusion is Reflector will show you some code but not the original code! don''t rely on it.

Valery.


添加到已经说过的内容:
下载Reflector(您现在必须付费)对您没有多大帮助.是的,它确实向您显示了源代码,但没有,它不会告诉您它最初是用哪种语言编写的.
实际上,在处理.NET(至少是VB和C#)时,这并不重要,因为所有.NET语言都可以编译为同一语言.这也使诸如Reflector(或免费的JustDecompile)之类的应用程序可以将任何.NET程序反编译为VB或C#.但是它不会告诉您原始代码是用C#还是VB编码的.
尽管如此,它们还是很棒的工具:)

我不知道如何反汇编非.NET库.但是肯定Google可以提供您需要的所有帮助;)
Adding to what has already been said:
Downloading Reflector (which you now have to pay for) will not help all that much. Yes, it does show you the source code, but no it will not tell you in which language it was originally programmed.
And actually it does not really matter when dealing with .NET (at least VB and C#), since all .NET languages will compile into the same language. This also makes it possible for applications such as Reflector (or the free of charge JustDecompile) to decompile any .NET program into VB or C#. But it won''t tell you if the original code was coded in C# or VB.
They are great tools nevertheless though :)

How to disassemble non-.NET libraries I do not know. But surely Google could provide all the help you need ;)


是的,有一种方法可以提取代码,只需下载一个名为反射器的应用程序,它将从exe或dll文件中提取代码. ...
一个很棒的应用程序.


通过查看如何插入包或名称空间,很容易知道代码是用哪种语言编写的.
yes there is a way to extract the code just download a application called reflector it will extract the code back from the exe or dll file...
An awesome application.


its easy to know in which language the code is written by looking at how the package or namespace is inserted


这篇关于有Visual Studio制作的exe程序,我能知道它是用哪种语言制作的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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