资源简介

通常大家通过 webbrowser.document.cookies 只能得到cookie但是得不到 session,这个实例也得到了session

资源截图

代码片段和文件信息

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

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-05 23:46  WebBrowser_Session_Demo\
     目录           0  2013-01-05 23:51  WebBrowser_Session_Demo\WebBrowser_Session_Demo\
     目录           0  2013-01-05 23:49  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\
     目录           0  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\Debug\
     文件       16896  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\Debug\WebBrowser_Session_Demo.exe
     文件       34304  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\Debug\WebBrowser_Session_Demo.pdb
     文件       22472  2013-01-05 23:47  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\Debug\WebBrowser_Session_Demo.vshost.exe
     文件         490  2010-03-17 22:39  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\Debug\WebBrowser_Session_Demo.vshost.exe.manifest
     目录           0  2013-01-05 23:49  WebBrowser_Session_Demo\WebBrowser_Session_Demo\bin\Release\
     文件         373  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\Form1.cs
     文件        1173  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\Form1.Designer.cs
     文件        9262  2013-01-05 23:53  WebBrowser_Session_Demo\WebBrowser_Session_Demo\GetCookies.cs
     文件        6540  2013-01-05 12:33  WebBrowser_Session_Demo\WebBrowser_Session_Demo\GetCookies.Designer.cs
     文件        5817  2013-01-05 12:33  WebBrowser_Session_Demo\WebBrowser_Session_Demo\GetCookies.resx
     文件        4452  2013-01-05 23:52  WebBrowser_Session_Demo\WebBrowser_Session_Demo\NetSocket.cs
     目录           0  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\
     目录           0  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\
     文件         863  2013-01-05 23:47  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6875  2013-01-05 23:51  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         180  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\SpiderDiscuz.GetCookies.resources
     目录           0  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\TempPE\
     文件         908  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\WebBrowser_Session_Demo.csproj.FileListAbsolute.txt
     文件         980  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\WebBrowser_Session_Demo.csproj.GenerateResource.Cache
     文件        2209  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\WebBrowser_Session_Demo.csprojResolveAssemblyReference.cache
     文件       16896  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\WebBrowser_Session_Demo.exe
     文件       34304  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\WebBrowser_Session_Demo.pdb
     文件         180  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\obj\Debug\WebBrowser_Session_Demo.Properties.Resources.resources
     文件         522  2013-01-05 23:54  WebBrowser_Session_Demo\WebBrowser_Session_Demo\Program.cs
     目录           0  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\Properties\
     文件        1384  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\Properties\AssemblyInfo.cs
     文件        2898  2013-01-05 23:46  WebBrowser_Session_Demo\WebBrowser_Session_Demo\Properties\Resources.Designer.cs
............此处省略6个文件信息

评论

共有 条评论