How to connect vCenter using SDK?

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");

Leave a Reply

Your email address will not be published. Required fields are marked *