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
Can we have multiple web config files for an asp.net application?
Why is this service branded with windows livetm?
What is the difference between exe and dll?
What is Razor View Engine
What is difference between session and cookie?
List the types of authentication supported by asp.net?
How can we register exception filter globally?
What are cookies in your browser?
What is different authentication mechanisms used in ASP.NET?
How does asp.net work?
What are HTTP handlers in ASP.NET?
What should you do is you want to remove an existing component but would like to make some funtionalities?
What is session object? Describe in detail.
Is react a template engine?
Describe a bubbled event and how it is used ?