通过webbrowser下载文件(看评论酌情下载)

上传者: huameng | 上传时间: 2019-12-21 19:54:18 | 文件大小: 9.85MB | 文件类型: zip
解决了webbrowser下载文件的三个问题: 1、屏蔽了另存为的弹出 2、获得webbrowser所有的cookie值 3、让webclient支持cookie

文件下载

资源详情

( 31 个子文件 9.85MB ) 通过webbrowser下载文件(看评论酌情下载)
WebBrowserDown
WebBrowserGetHtmlByCookie.sln 897B
WebBrowserGetHtmlByCookie.suo 29.00KB
WebBrowserGetHtmlByCookie
bin
Release
Debug
WindowsFormsApplication1.pdb 33.50KB
WindowsFormsApplication1.vshost.exe.manifest 490B
WindowsFormsApplication1.vshost.exe 11.34KB
WindowsFormsApplication1.exe 16.00KB
mshtml.dll 22.06MB
myaa 6.60KB
Form1.Designer.cs 5.11KB
Program.cs 505B
obj
x86
Debug
GetHtmlByCookie.csproj.FileListAbsolute.txt 1.81KB
WindowsFormsApplication1.pdb 33.50KB
GetHtmlByCookie.csproj.GenerateResource.Cache 975B
WindowsFormsApplication1.csproj.FileListAbsolute.txt 1.22KB
WindowsFormsApplication1.Properties.Resources.resources 180B
DesignTimeResolveAssemblyReferencesInput.cache 6.09KB
DesignTimeResolveAssemblyReferences.cache 1.20KB
GetHtmlByCookie.csproj.ResolveComReference.cache 700B
TempPE
WindowsFormsApplication1.exe 16.00KB
WindowsFormsApplication1.csproj.GenerateResource.Cache 975B
WindowsFormsApplication1.Form1.resources 180B
WindowsFormsApplication1.csproj.ResolveComReference.cache 700B
HttpClient.cs 5.46KB
Form1.cs 7.74KB
GetHtmlByCookie.csproj 3.97KB
Form1.resx 6.07KB
Properties
Resources.resx 5.48KB
Settings.settings 249B
AssemblyInfo.cs 1.35KB
Settings.Designer.cs 1.08KB
Resources.Designer.cs 2.83KB
[{"title":"( 31 个子文件 9.85MB ) 通过webbrowser下载文件(看评论酌情下载)","children":[{"title":"WebBrowserDown","children":[{"title":"WebBrowserGetHtmlByCookie.sln <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"WebBrowserGetHtmlByCookie.suo <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"WebBrowserGetHtmlByCookie","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"WindowsFormsApplication1.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"mshtml.dll <span style='color:#111;'> 22.06MB </span>","children":null,"spread":false},{"title":"myaa <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"GetHtmlByCookie.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"GetHtmlByCookie.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.09KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"GetHtmlByCookie.csproj.ResolveComReference.cache <span style='color:#111;'> 700B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.ResolveComReference.cache <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"HttpClient.cs <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false},{"title":"GetHtmlByCookie.csproj <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qiaoyuq :
    完美决绝问题了。。
    2019-07-03
  • liuchang0001 :
    不是我需要的,而且运行起来进了死循环
    2018-07-20
  • 超级汉堡 :
    没有用的代码,纯粹骗子
    2018-05-03
  • flyingdream_sgn :
    没有直接用代码,不过还是学习了很多东西,谢谢楼主
    2018-04-18
  • diskA :
    没有用的代码,纯粹骗子
    2017-11-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明
服务器状态检查中...