Exemple #1
0
        /// <summary>
        /// Start downloading in new thread
        /// </summary>
        /// <param name="chan">Channel name</param>
        public void start(string ChanName, epgResult er)
        {
            result = er;
            ThreadStart starter = delegate { getEpg("", ""); };
            Thread      th      = new Thread(starter);

            th.IsBackground = true;
            th.Start();
        }
Exemple #2
0
        public Epg()
        {
            selectedPlugin = new SiolPlugin.EpgPlugin();
            result         = new epgResult("", "", "");
            //            Finished = OnFinished;
            if (AssemblyVersion.CompareTo(selectedPlugin.MulticasttvVersion) >= 0)
            {
                VersionOk = true;
            }

            policy     = new HttpRequestCachePolicy(HttpRequestCacheLevel.Default);
            CookieCont = new CookieContainer();
            HttpWebRequest.DefaultCachePolicy = policy;
        }