Class VpnHoodClientParams
Represents what the host prepared for a single connection, handed to Create(VpnHoodClientParams, NetFilter, CancellationToken).
public class VpnHoodClientParams
- Inheritance
-
VpnHoodClientParams
- Inherited Members
Remarks
The adapter arrives ready-made, as the null capture is the host's call; everything path- or store-backed stays raw in ServiceOptions, so the factory, default or derived, resolves it.
Properties
ConfigFolder
Gets the VPN service's config folder, on this device only.
public required string ConfigFolder { get; init; }
Property Value
DataFolder
Gets the proxies' folder, which travels with a backup (VpnServiceFolders).
public required string DataFolder { get; init; }
Property Value
KnownHostAddresses
Gets what the server token's host name gave, known already after a server's move, which the connect takes rather than asking the name, or null.
public HostNameAddresses? KnownHostAddresses { get; init; }
Property Value
ServiceOptions
Gets the options the app saved for the service.
public required VpnServiceOptions ServiceOptions { get; init; }
Property Value
SocketFactory
Gets the factory of the client's sockets.
public required IClientSocketFactory SocketFactory { get; init; }
Property Value
VpnAdapter
Gets the VPN adapter, ready-made, which the client disposes with itself where AutoDisposeVpnAdapter says so, the default.
public required IVpnAdapter VpnAdapter { get; init; }