Exemplo n.º 1
0
        public IWebserviceResult Connect()
        {
            var info = new RequestInfo("Connect");

            WebserviceState = WebserviceWrapperState.Connecting;
            bool login  = Webservice.Login(UserName, Password);
            var  result = new WebserviceResult(info, login);

            WebserviceState = WebserviceWrapperState.Connected;
            return(result);
        }