Welcome to the wren-sharp wiki!
https://developer.rhino3d.com/guides/rhinocommon/wrapping-native-libraries/