I have no knowledge about the c# wrapper, but String isn't the same as STRING or char.

Does it automatically convert a String to an engine STRING* or char* ? If yes, then never mind my reply.