I have some functions in a native dll that look something like this: (not exactly like this but this is the essential stuff)
const char* get_string();
void free_string(const char *c);
How would I define those in a C# program so I can get a C# string from the native char buffer and then get the native char buffer pointer so it can be freed?