文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>c# 获得windows mobile 手机IE的历史记录

c# 获得windows mobile 手机IE的历史记录

时间:2010-10-19  来源:白沙河

//关键是找到历史记录在注册表中的保存位置

using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;  

namespace ReadIeHistory
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        public void initViewPort()
        {
            try
            {
                RegistryKey hklm = Registry.LocalMachine;
                RegistryKey software = hklm.OpenSubKey("Explorer").OpenSubKey("AddressHistory");
                string[] hisKey = software.GetValueNames();
                string hisUrl = "";
                for (int i = 0; i < hisKey.Length; i++)
                {
                    hisUrl += software.GetValue(hisKey[i]) + ";";
                }
            }
            catch
            {
                return;
            }
        }

    }
}
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载