public static void Login() { if (ServiceContent.sessionManager != null) { ServiceInstance.Login(ServiceContent.sessionManager, AppConfig.VSphereUser, AppConfig.VSpherePass, null); } }