How to write unmanaged code and how to identify whether the
code is managed / unmanaged ?
Answer Posted / narayansahu
you can only write unmanaged code in c# not in vb.net
you can only call unmanaged code in vb.net. calling and
writing unmanaged code are different things.
To identify whether the code is managed or not open the
file in ildasm in VS.Net Command prompt.
Also you can use a .Net tool called dumpbin, which can be
used to check the headers.
or open the dll in notepad and check for "V e r s i o n".
If you find that, it is managed assembly.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is a viewbag?
Describe the difference between inline and code behind - which is best in?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
What are web server controls in asp.net?
Why asp.net is better than php?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
What does mean by a neutral culture?
What is state management react?
What is preprocessor in .net?
What are the three parts of an http response?
Define satellite assemblies.
what are the Custom controls in asp.net?
Elaborate differentiation between Cache and Application?
Which object wraps the state or data of a user?
Do I need to have the latest version of windows media player installed?