Exemplo n.º 1
0
        public WebUIAPI(Config config)
        {
            this.Config         = config;
            this.Torrents       = new TorrentListing();
            this.Timer          = new Timer();
            this.Cookies        = new CookieContainer();

            this.Timer.Tick += new EventHandler(Timer_Tick);
            this.Timer.Interval = 5000;
        }
Exemplo n.º 2
0
        public WebUIAPI(Config config)
        {
            this.Config   = config;
            this.Torrents = new TorrentListing();
            this.Timer    = new Timer();
            this.Cookies  = new CookieContainer();

            this.Timer.Tick    += new EventHandler(Timer_Tick);
            this.Timer.Interval = 5000;
        }