摘要: 程序说明:1.此项目 包含两个项目, 一个 Winform WinGetMocroblogCookie用于手动 登录 新浪微博 其中涉及到的技术有: 使用webbrowser 获取HttpOnly 的Cookie ,文件写在 相对路径 _cookie.txt下2.包含一个控制台项目 此项目 开启了一个后台程序WinGetMocroblogCookie.exe , 并且获取 路径为_cookie.txt的cookie值使用定时器,Trimer,webbrowser,读取Httponly 的Cookie, 开启后台程序 exe,关闭后台程序 exe源代码下载地址:http://files.cnbl 阅读全文
posted @ 2014-02-27 15:58 兴想事成 阅读(308) 评论(1) 推荐(0) 编辑
摘要: using System;using System.ComponentModel;using System.Net;using System.Runtime.InteropServices;using System.Security;using System.Security.Permissions;using System.Text;internal sealed class NativeMethods{ #region enums public enum ErrorFlags { ERROR_INSUFFICIENT_BUFFER = 122, ... 阅读全文
posted @ 2014-02-27 12:07 兴想事成 阅读(315) 评论(0) 推荐(0) 编辑