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
To get the values in two different controls to match which control you use it?
Explain about Automatic resource management?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What is the page life cycle in asp.net?
Do I need to have the latest version of windows media player installed?
How is mvc different from asp.net? : Asp.Net MVC
Why do you use the app_code folder in asp.net?
What does ascx stand for?
How to register exception filter globally?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
Can I combine classic asp and asp.net pages?
Name the tools or API for developing or testing web api?
Why is global asax is used for?
What is a session http?
How do you implement postback with a text box?