Introduction to unsafe C#: Calling native code and crashing in entirely new ways - Dennis Dietrich

preview_player
Показать описание
This talk was recorded at NDC Porto in Porto, Portugal. #ndcporto #ndcconferences #csharp #developer #softwaredeveloper

Attend the next NDC conference near you:

Subscribe to our YouTube channel and learn every day:

Follow our Social Media!

Does your C# code have enough access violations? How about mutating supposedly immutable strings? No? What about buffer overflows or heap corruptions? Learn how to do all of this in pure C#, no C or C++ required! In this talk, we’ll be looking at pointers, unions, unmanaged memory, implementing IDisposable and finalizers, and how to call and be called by native code.
Рекомендации по теме
Комментарии
Автор

I love how this shows up in my feed exactly as I need to learn how to call a C library in C#

bootie
Автор

Zero comments? WTF is wrong with you people ? This is amazing!

sealsharp
Автор

I have been p/invoking for a long time. Lots of hardware manufactures just release a dll with c headers to interact with their hardware.
This talk is a very good summary of the things I encountered. Some parts had to be cut short because of the time, but it is nice to see to much useful information in a 60 minutes time. Well done Dennis!

djchrisi
Автор

Thanks to everyone who's commented so far. I went through several iterations of this talk and spent a lot of time updating and refining the content. It makes me very happy that all this effort paid off.

dcdietrich
Автор

for 15 yrs of .net programming just faced a win32 pinvoke, but always love to see something unsafe like this )

eugene