A C# library for Cloudflare's BoringTun. Note that this library does not create any network interfaces to intercept packets.
- Clone this repository or include the NuGet library in your project.
- Build the BoringTun DLLs for your associated platform and distribute them within your app accordingly.
- Take a look at the example for API usage.
Clone the boringtun git repo and build the library with the following command: cargo build --lib --no-default-features --release --features ffi-bindings
. Copy the resulting DLL/SO/DYLIB to the root directory of this project.
WireGuard is a registered trademark of Jason A. Donenfeld. BoringTunSharp is not sponsored or endorsed by Jason A. Donenfeld.