MOCA client for .NET, sponsored by LabelZoom.
See tests for more examples.
using (MocaConnection conn = new HttpMocaConnection(url))
{
await conn.Login(user, password);
MocaResponse res = await conn.Execute("publish data where message = 'Hello World!'");
using (DataTable dt = res.ResponseData)
{
Console.WriteLine($"Message: {dt.Rows[0].Field<string>("message")}")
}
}