Is .NET PInvoke available on Linux and Mac OS X?

Invocation platforms in the .NET Framework, available on Windows.

[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern MessageBoxResult MessageBox(IntPtr hWnd, String text, String caption, int options);

Is PInvoke available on Linux and Mac OS X? for example, for the Mono project?

If Linux and Mac OS X are supported by PInvoke, can you give me an example or links in your answer.

Thank.

+5
source share
1 answer
+9
source

All Articles