How to connect vCenter using SDK?
We would need VMware.Vim dll file for this code.
VMware.Vim.VimClientImpl c = new VimClientImpl();
ServiceContent sc = c.Connect("https://HOSTNAME/sdk");
UserSession us = c.Login("admin@vsphere.local", "password");