资源简介
注意,要求.net版本至少在4.5.2,且是64位的解决方案,解决方案生成平台选anycpu是不行的,支持32位的我后续可能会上传;
该版本为cefsharp65,目前为止最新的版本,已集成好flash支持和支持摄像头调用,希望对你有用。ps(开发工具为vs2012)
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CefSharp;
namespace CefSharpDemo
{
public static class CefExample
{
public const string DefaultUrl = “http://www.google.com/“;
private static readonly bool DebuggingSubProcess = Debugger.IsAttached;
public static void Init()
{
var settings = new CefSettings();
settings.RemoteDebuggingPort = 8088;
settings.Locale = “zh-CN“;
settings.CefCommandLineArgs.Add(“ppapi-flash-path“ System.AppDomain.CurrentDomain.baseDirectory + “pepflashplayer.dll“); //指定flash的版本,不使用系统安装的flash版本
settings.CefCommandLineArgs.Add(“ppapi-flash-version“ “29.0.0.171“);
settings.CefCommandLineArgs.Add(“enable-media-stream“ “enable-media-stream“);
settings.IgnoreCertificateErrors = true;
settings.LogSeverity = LogSeverity.Verbose;
if (DebuggingSubProcess)
{
//var architecture = Environment.Is64BitProcess ? “x64“ : “x86“;
//settings.BrowserSubprocessPath = “..\\..\\..\\..\\CefSharp.BrowserSubprocess\\bin\\“ + architecture + “\\Debug\\CefSharp.BrowserSubprocess.exe“;
}
//settings.RegisterScheme(new CefCustomScheme
//{
// SchemeName = CefSharpSchemeHandlerFactory.SchemeName
// SchemeHandlerFactory = new CefSharpSchemeHandlerFactory()
//});
if (!Cef.Initialize(settings))
{
if (Environment.GetCommandLineArgs().Contains(“--type=renderer“))
{
Environment.Exit(0);
}
else
{
return;
}
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 189 2018-07-25 09:42 CefSharpDemo\CefSharpDemo\App.config
文件 189 2018-07-25 09:42 CefSharpDemo\CefSharpDemo\bin\Debug\CefSharpDemo.exe.config
文件 22984 2018-07-25 09:42 CefSharpDemo\CefSharpDemo\bin\Debug\CefSharpDemo.vshost.exe
文件 189 2018-07-25 09:42 CefSharpDemo\CefSharpDemo\bin\Debug\CefSharpDemo.vshost.exe.config
文件 490 2014-01-13 21:31 CefSharpDemo\CefSharpDemo\bin\Debug\CefSharpDemo.vshost.exe.manifest
文件 3873893 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\cef.pak
文件 1086976 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.BrowserSubprocess.Core.dll
文件 5353472 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.BrowserSubprocess.Core.pdb
文件 8704 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.BrowserSubprocess.exe
文件 15872 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.BrowserSubprocess.pdb
文件 1619456 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.Core.dll
文件 6631424 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.Core.pdb
文件 60734 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.Core.xm
文件 190464 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.dll
文件 407040 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.pdb
文件 27648 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.WinForms.dll
文件 52736 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.WinForms.pdb
文件 41680 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.WinForms.xm
文件 455763 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharp.xm
文件 8704 2018-07-25 09:52 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharpDemo.exe
文件 189 2018-07-25 09:42 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharpDemo.exe.config
文件 26112 2018-07-25 09:52 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharpDemo.pdb
文件 22472 2018-07-25 09:43 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharpDemo.vshost.exe
文件 189 2018-07-25 09:42 CefSharpDemo\CefSharpDemo\bin\x64\Debug\CefSharpDemo.vshost.exe.config
文件 655157 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\cef_100_percent.pak
文件 760961 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\cef_200_percent.pak
文件 1877906 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\cef_extensions.pak
文件 582656 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\chrome_elf.dll
文件 4310328 2018-07-17 14:57 CefSharpDemo\CefSharpDemo\bin\x64\Debug\d3dcompiler_47.dll
文件 987451 2018-07-25 09:52 CefSharpDemo\CefSharpDemo\bin\x64\Debug\debug.log
............此处省略126个文件信息
相关资源
- CefSharp V63 demo
- Winform集成CefSharp,CefSharp单独目录
- webkit与C#winform相互调用
- C#浏览器自动填表demo(三种方式)
- C#调用WebKit.NET 源码和
- WinForm窗体程序中使用CefSharp获取加载
- CefSharp.WinForms 支援MP4 Cef 71.0.1.0
- Winform运用CefSharp简单样例
- VS中NuGet包离线安装CefSharp.WinForms.49.
- cefsharp使用简单用例,兼容XP解决方案
- CefSharp.WinForms.dll
- C#WinForm使用CefSharp内嵌
- CefSharp 57
- CefSharp.WinForms 支持mp4
- VB.net中应用CefSharp.WinForms库构建Chrom
- geiliwebkitbrowser 一个WEBKIT内核的浏览器
- WebKit.NET-0.5-src .NET平台下用C#引用web
- c#用webkit内核支持html5
- c#新浏览器(webkit)
- CefSharp完美代码
- CefSharp源码含wpf以及winform
- CefSharp简单调用
- CefSharp-多标签-未完善
- WPF中嵌入CefSharp浏览器
- Cefsharp网盘搜索
-
pepflashpla
yer.dll 64位和32位(附使用教 - C#后台编写网页浏览器CefSharp
- 开发小型浏览器测试(WebKitBrowser)
- WinForm浏览器开发(CefSharp.MinimalExamp
评论
共有 条评论