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 ports must be open for DCOM over a firewall? What is the purpose of Port 135?
How do u deploy ur project?
What are Caching techniques in .NET
Which is the parent class of the ASP.NET server control?
Explain what is clr?
What are the properties of the eventargs argument when capturing keyboard events?
Explain about asp.net state management?
Which method do you use to kill explicitly a users session?
What are the parts of an http response?
What is full trust in asp.net?
What are the different session state management options available in asp.net?
Which is faster viewbag or viewdata?
Mention the execution process for managed code?
How would you turn off cookies on a page of a website?
What is microsoft windows sharepoint services?