Table of Contents

Namespace VpnHood.Net.VpnAdapters.Abstractions

Classes

NullVpnAdapter

Represents a VPN adapter with no interface: it reads no packets and takes every packet written to it, for tests and for running a VPN without a tunnel on the host.

TunVpnAdapter

Provides the start, stop, restart, packet I/O and network-change handling of a VPN adapter over a TUN-like interface; a derived class supplies the platform's steps.

VpnAdapterOptions

Provides the options of one run of a VPN adapter, from its start to its stop; each restart uses them again.

VpnAdapterSettings

Provides the settings a VPN adapter is made with, which hold for its whole life; what changes from one run to the next is in VpnAdapterOptions.

Interfaces

IVpnAdapter

Represents a VPN adapter: a virtual network interface that the host's traffic is routed into, whose packets a VPN reads and writes as an IPacketTransport.