maogo / i2pdotnet

.NET library for using the I2P Simple Anonymous Messaging (SAM v3.0) bridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i2pdotnet

A .NET library for using the I2P Simple Anonymous Messaging (SAM v3.0) bridge.

Supported platforms:

  • .NET Standard 1.6

This includes the .NET Framework, .NET Core, UWP and more.

Usage:

You need to have I2P installed, and enable the SAMv3 bridge in the router console.

See the SampleApp project for a detailed example.

// Connect to SAM bridge
var session = new I2PSession(samPort: 7656);
await session.InitializeAsync();

// Connect to a peer
var stream = await session.ConnectAsync(destination);
var writer = new BinaryWriter(stream);
writer.Write("Testing...");

About

.NET library for using the I2P Simple Anonymous Messaging (SAM v3.0) bridge

License:Other


Languages

Language:C# 100.0%