Carter Shanklin created a nice little slideshow about Using VI Toolkit (For Windows) From .NET and uploaded it to SlideShare. Although all the examples are written in C++ you can learn a lot from his presentation. You also should take a look at the VMware Infrastructure .NET Toolkit 1.0 Developer’s Guide. Finally I was able to convert most of Carter’s code to Visual Basic Express 2008 and make a connection to my ESX 3.5 server. Here’s the source code, just paste it under a button.
Dim MySession As New VMware.Vim.VimClient
MySession.Connect("https://192.168.178.110/sdk")
MySession.Login("root", "vmware")
MsgBox(MySession.ServiceContent.About.FullName)
MySession.Logout()
Come on you VB guys, let’s create some great tools :-)