The vSphere Web Services SDK includes sample applications, written in Java and C#, that demonstrate features of the vSphere API and object model (see Sample Program Overview). Most of the samples do not handle exceptions, and they accept all security certificates. So use the applications as examples for extracting the types of data you want to view, but do not use the helper classes, trust store methods or exception handling techniques in your production environment.
The C# samples in your vSphere Web Services SDK include a .cs file and three project files in each directory (.proj, 2008.proj, and 2010.proj) so you can run them using Microsoft’s Visual Studio.
The helper classes (listed in Helper Classes for C# Sample Applications) handle command-line input such as common parameters, server name, and other details. These helper classes are located in the unpacked C# version of the SDK download, in this location:
Helper Classes for C# Sample Applications lists the helper classes available for C#.