Info
Version: | 60.0.49 |
Author(s): | geckofx |
Last Update: | Tuesday, July 28, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://bitbucket.org/geckofx/ |
NuGet Url: | https://www.nuget.org/packages/Geckofx60.32.Linux |
Install
Install-Package Geckofx60.32.Linux
dotnet add package Geckofx60.32.Linux
paket add Geckofx60.32.Linux
Geckofx60.32.Linux Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Depends on Gtk3
ubuntu packages: libgtk-3-0, libgtk3.0-cil
Example Usage:
// set env var LD_LIBRARY_PATH to $(ProjectDir)/Firefox-Linux64
// set env var LD_PRELOAD to $(ProjectDir)/Firefox-Linux64/libgeckofix.so
// add using Gecko
[STAThread]
static void Main(string[] args)
{
Xpcom.Initialize("Firefox");
var geckoWebBrowser = new GeckoWebBrowser {Dock = DockStyle.Fill};
Form f = new Form();
f.Controls.Add(geckoWebBrowser);
geckoWebBrowser.Navigate("www.google.com");
Application.Run(f);
}.