Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SamuelFisher/i2pdotnet

.NET library for using the I2P Simple Anonymous Messaging (SAM v3.0) bridge
https://github.com/SamuelFisher/i2pdotnet

csharp dotnet i2p

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.

```csharp
// 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...");
```