zoukankan      html  css  js  c++  java
  • 获取所有IE当前浏览的Url

    using  System;
    using  System.Windows.Forms;
    using  SHDocVw;
    namespace  WindowsApplication35
    {
        
    public   partial   class  Form1 : Form
        
    {
            
    public  Form1()
            
    {
                InitializeComponent();
            }

            
    private   void  Form1_Load( object  sender, EventArgs e)
            
    {
                ShellWindowsClass shellWindows 
    =   new  ShellWindowsClass();
                
    foreach  (InternetExplorer ie  in  shellWindows)
                
    {
                    
    string  filename  =  System.IO.Path.GetFileNameWithoutExtension(ie.FullName).ToLower();

                    
    if  (filename.Equals( " iexplore " ))
                    
    {
                        Console.WriteLine(ie.LocationURL);
                    }

                }

            }


             
        }

    }
     
  • 相关阅读:
    括号序列的dp问题模型
    粉刷匠
    木棍加工
    物流运输
    最短路图
    DP基础(线性DP)总结
    离散化
    树链剖分
    NOIP2016 “西湖边超萌小松鼠” 模拟赛
    NOI导刊 2009 提高二
  • 原文地址:https://www.cnblogs.com/cl1024cl/p/6204975.html
Copyright © 2011-2022 走看看