.NET API library and examples