The C# api for scorch