---
title: "Discussion on \"Executing Native Code in .NET Without External DLLs\" | Hashnode"
description: "Discussion on \"Executing Native Code in .NET Without External DLLs\". This example demonstrates how to execute native x86 machine code directly from .NET and, conversely, how to call a managed .NET method from that native code — all without loading any external libraries.\nHow it works\nThe core idea is to allocate a chu..."
url: "https://hashnode.com/posts/executing-native-code-in-net-without-external-dlls/695529bd65d87f2ddc0ba741"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Executing Native Code in .NET Without External DLLs](https://blog.antonr.net/executing-native-code-in-net-without-external-dlls?utm_source=hashnode&utm_medium=feed)

This example demonstrates how to execute native x86 machine code directly from .NET and, conversely, how to call a managed .NET method from that native code — all without loading any external libraries. How it works The core idea is to allocate a chu...

May 13, 2013 · 3 min read · blog.antonr.net  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#interoperability](https://hashnode.com/tag/interoperability)
-   [#assembly](https://hashnode.com/tag/assembly)

## Written by

[Anton Ryzhov](https://hashnode.com/@antonryzhov)

@antonryzhov

  
[View profile](https://hashnode.com/@antonryzhov)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
