Simple example code for communication between C# and xboard