-
大小: 12.87MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-06-17
- 语言: C#
- 标签: WebKit.NET C#
资源简介
C#调用WebKit.NET浏览网页,操作DOM
代码片段和文件信息
/*
* Copyright (c) 2009 Peter Nelson (charn.opcode@gmail.com)
* All rights reserved.
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR
* CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN
* CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
/* TypeNormalizer.cs -- this tool is used during the WebKit .NET build
* process to replace references to _RemotableHandle with int32 in
* WebKit.Interop.dll. This is required as it appears that MIDL would prefer
* that we marshal values of type HDC to a reference to some undocumented
* _RemotableHandle structure which doesn‘t appear to work correctly.
* Since an HDC on Win32 is simply a (void *) we can treat it as an int32
* here.
*
* TODO: Fix these to IntPtrs for 64-bit compat
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.IO;
class TypeNormalizer
{
static int Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine(“No file specified“);
return 1;
}
string file = File.ReadAllText(args[0]);
file = file.Replace(“valuetype WebKit.Interop._RemotableHandle&“ “int32“);
File.WriteAllText(args[0] file);
return 0;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\bin\
文件 0 2010-08-28 22:47 WebKit.NET-0.5-src\bin\.gitignore
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\docs\
文件 0 2010-08-28 22:47 WebKit.NET-0.5-src\docs\.gitignore
文件 1462 2010-08-28 22:47 WebKit.NET-0.5-src\LICENSE.txt
文件 834 2010-08-28 22:47 WebKit.NET-0.5-src\README.txt
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\tools\
文件 2473 2010-08-28 22:47 WebKit.NET-0.5-src\tools\TypeNormalizer.cs
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\webkit\
文件 1754 2010-08-28 22:47 WebKit.NET-0.5-src\WebKit.NET.sln
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\WebKitBrowser\
文件 2758 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserDoc.shfbproj
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\WebKitBrowserTest\
文件 120 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\app.config
文件 2169 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\DownloadForm.cs
文件 3756 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\DownloadForm.Designer.cs
文件 5814 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\DownloadForm.resx
文件 10059 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\MainForm.cs
文件 17911 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\MainForm.Designer.cs
文件 6012 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\MainForm.resx
文件 3770 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\NavigationBar.cs
文件 9976 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\NavigationBar.Designer.cs
文件 5814 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\NavigationBar.resx
文件 1928 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\Program.cs
目录 0 2010-08-28 22:55 WebKit.NET-0.5-src\WebKitBrowserTest\Properties\
文件 2930 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\Properties\AssemblyInfo.cs
文件 2863 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\Properties\Resources.Designer.cs
文件 5612 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\Properties\Resources.resx
文件 1102 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\Properties\Settings.Designer.cs
文件 249 2010-08-28 22:47 WebKit.NET-0.5-src\WebKitBrowserTest\Properties\Settings.settings
............此处省略326个文件信息
- 上一篇:C#项目开发全程实录 明日科技
- 下一篇:C#中用三种方法打印PDF文档
相关资源
- C#中用三种方法打印PDF文档
- C#项目开发全程实录 明日科技
- STC12C5A60S2-基于pt100的远程网络温度检
- 最强大的Asp.Net图书销售系统源代码保
- OpenCvSharp4.1官方例程
- c#开发报价系统
- ASP.NET C#在线音乐网站带数据库2017更新
- 通用ASP.NET Core NPOI导出复杂Word、Exce
- 手把手教你用C#制作RPG游戏__罗培羽著
- C#教务系统
- 免费版 .NET PDF查看组件-Spire.Pdfviewer
- 旅游管理系统C#版数据库sql server
- C#窗体应用程序标准数独
- C# 二维三维图形绘制工程宝典(源码
- C# 选关版俄罗斯方块
- C#学习笔记电子书
- C# 获取MAC地址 硬盘ID IE火狐谷歌 带
- C#开发FFMPEG(API方式) FFmpeg拉取RTMP流
- C#winfrom图片查看浏览器
- SNS源代码,社区系统,基于.net3.5+sq
- ASP.NET C#在线音乐网站
- 《C#入门经典第五版》高清完整版带目
- C#与.NET程序员面试宝典_.pdf
- C# WinForm实践开发教程 (钱哨) 带书
- C# 一元幸运购项目源码+数据库 大学项
- 免费PDF控件Spire.PDF
- C#基于Chrome内核的webBrower ChromeWebBrow
- C# 开源组态
- C#7 图解教程(2018年版 第5版 英文版
- 《设计模式--基于C#的工程化实现及扩
评论
共有 条评论