IsVideoSite() public method

public IsVideoSite ( string url ) : bool
url string
return bool
Ejemplo n.º 1
0
        public void AfterNavigate(object iDisp, ref object URL)
        {
            SHDocVw.WebBrowser IEDocument = GetIEDocument();
            MakeVisible();

            //mshtml.HTMLDocument HTML = (mshtml.HTMLDocument) IEDocument.Document;
            //HTML.cookie
            //HTML.attachEvent(iDisp)

            btnDownload.Enabled = videoSites.IsVideoSite(IEDocument.LocationURL);
        }
Ejemplo n.º 2
0
Archivo: IEMD.cs Proyecto: tbayart/dndm
        public void AfterNavigate(object iDisp, ref object URL)
        {
            SHDocVw.WebBrowser IEDocument = GetIEDocument();
            MakeVisible();

            mshtml.HTMLDocument HTML = (mshtml.HTMLDocument)IEDocument.Document;
            // save cookies
            //StreamWriter sw=new StreamWriter(Settings.MyDownloaderPath + "_cookie");
            //sw.Write(HTML.cookie);
            //sw.Close();
            //HTML.cookie
            //HTML.attachEvent(iDisp)

            btnDownload.Enabled = videoSites.IsVideoSite(IEDocument.LocationURL);
        }