zoukankan      html  css  js  c++  java
  • c# 获得windows mobile 手机IE的历史记录

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

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

    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;
                }
            }

        }
    }
  • 相关阅读:
    水晶报表的部署
    成熟是一种明亮而不刺眼的光辉...
    获取页面地址的各种返回值
    索引的基本原理(转)
    cron
    VS2010 测试 普通单元测试
    SQL 学习笔记
    负载均衡
    Expression 常用方法
    轻松实现QQ用户接入
  • 原文地址:https://www.cnblogs.com/baishahe/p/1855929.html
Copyright © 2011-2022 走看看