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 :-)