Got .NET API working with program