C# API reference