예제 #1
0
 public void Cleanup()
 {
     _vecsClient.CloseServer();
     _certStoreClient = null;
     _afdClient       = null;
     _vecsClient      = null;
     IsLoggedIn       = false;
     Password         = null;
 }
예제 #2
0
        void RefreshStores()
        {
            this.Children.Clear();
            MMCActionHelper.CheckedExec(delegate()
            {
                var client = new Vecs.VecsClient(ServerDTO.Server, ServerDTO.UserName, ServerDTO.Password);
                var stores = client.GetStores();

                foreach (var store in stores)
                {
                    var activeNode = new VecsStoreNode(ServerDTO, store);
                    this.Children.Add(activeNode);
                }
            });
        }