Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noahgwood/ezlauncher
EZLauncher is an open-source, cross-platform web launcher for dotnet/C#.
https://github.com/noahgwood/ezlauncher
Last synced: 7 days ago
JSON representation
EZLauncher is an open-source, cross-platform web launcher for dotnet/C#.
- Host: GitHub
- URL: https://github.com/noahgwood/ezlauncher
- Owner: NoahGWood
- License: mit
- Created: 2023-12-15T12:42:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-15T13:33:22.000Z (11 months ago)
- Last Synced: 2024-11-01T14:06:13.402Z (14 days ago)
- Language: C#
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EZLauncher
EZLauncher is a cross-platform .NET library that simplifies the process of opening URLs in the default web browser. It abstracts away the platform specific details, allowing developers to open URLs with a single, easy-to-use function.## Features:
* Cross-platform support for Windows, macOS, and Linux
* Convenient API for opening URls without worrying about platform specific code.
* Automatically selects the appropriate implementation based on runtime environment.
* Single-flag debugging to help development# Example Code
## Usage in a Console Application
```csharp
using EZLaunch = EZLauncher.EZLauncher;class Program
{
static void Main()
{
EZLaunch.Launch("https://www.example.com");
//EZLaunch.Launch("https://www.example.com", true); // Enables debugging
}
}
```# Installation
```bash
dotnet add package EZLauncher
```