Exemplo n.º 1
0
 public void Connect(string username, SecureString password, string url)
 {
     _requestHandler = new RequestHandler(username, password, url);
     string sId = _requestHandler.Login();
     var cInfo = new SessionInformation(sId, url, username);
     SessionState.PSVariable.Set(SessionInfoVariableName, cInfo);
 }
Exemplo n.º 2
0
        public void Connect(string username, SecureString password, string url)
        {
            _requestHandler = new RequestHandler(username, password, url);
            string sId   = _requestHandler.Login();
            var    cInfo = new SessionInformation(sId, url, username);

            SessionState.PSVariable.Set(SessionInfoVariableName, cInfo);
        }