Skip to content

peterfelts/csharp-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

csharp-samples

p-invoke-linux-shared-library

This sample shows how to call a C-based shared library (a.k.a. a Linux DLL) from a .Net Core app running on Linux via P/Invoke. The shared library returns a pointer to the managed (C#) code which is then marshaled in to a .Net string.

About

Various C# samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published