C# API for sending and receiving debug strings