System::Runtime::InteropServices::Marshal class. Provides marshalling implementation. For compatibility with translated code only, as no managed code is supported on C++ side. This is a static type with no instance services. You should never create instances of it by any means in C++....an unmanaged zero-terminated UTF8-string. static PtrToStringAnsi...managed String from an unmanaged UTF8-string. static PtrToStringAuto...