Class DaemonConnection
- Namespace
- VpnHood.AppUi.Hosting.Desktop
- Assembly
- VpnHood.AppUi.Hosting.Desktop.dll
Provides the way in to the app's API, followed as it moves: the service's, over its channel, or this process's own.
public sealed class DaemonConnection : IAsyncDisposable
- Inheritance
-
DaemonConnection
- Implements
- Inherited Members
Properties
Api
Gets the app's API, over loopback to wherever the app's web host answers now.
public VpnHoodApi Api { get; }
Property Value
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public ValueTask DisposeAsync()
Returns
- ValueTask
A task that represents the asynchronous dispose operation.