Minnoo
Minnoo

Reputation: 85

How is unmanaged code run in .NET?

How does unmanaged code run in .net?

Upvotes: 4

Views: 713

Answers (2)

Matthew Flaschen
Matthew Flaschen

Reputation: 284806

Most commonly, using P/Invoke, COM, or C++/CLI.

Upvotes: 8

womp
womp

Reputation: 116977

If you want a good overview of how .Net interoperates with unmanaged code, you could start with An Overview of Managed/Unmanaged Code Interoperability on MSDN.

It discusses security, performance, and what exactly happens at the interop boundary.

There are links for further reading at the bottom.

Upvotes: 3

Related Questions