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

        }
    }
  • 相关阅读:
    CentOS 7系统安装nginx+php
    LINUX VSFTP配置及安装
    linux的mount(挂载)命令详解
    nginx和tomcat的区别
    Linux上安装mysql5.7
    初学Java 二维数组找出最近的两个点
    初学Java 数组统计字母
    Struts2中获取Web元素request、session、application对象的四种方式
    jsp自定义标签
    自定义el函数
  • 原文地址:https://www.cnblogs.com/baishahe/p/1855929.html
Copyright © 2011-2022 走看看