Is there a method to determine the original language of a .NET assembly if the source code is not available?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not really, but you can sometimes make a guess.
For example, if you have a VB.NET assembly containing anonymous types, the compiler-generated name in the assembly will look something like this:
Anonymous types in a C# assembly look like this:
Different compilers will implement these sorts of things slightly different. C++/CLI assemblies tend to have lots of types in the assembly with “funny” names (for things like functions that belong to the global scope and so on).
Visual Basic applications also reference the Microsoft.VisualBase assembly (though any .NET app can technically reference any assembly, so that’s not a 100% indicator).