C# assembly for accessing the pocket API