Table of Contents

Interface IDaemonChannelCaller

Namespace
VpnHood.AppUi.Hosting.Desktop.Daemon.Platform
Assembly
VpnHood.AppUi.Hosting.Desktop.Daemon.dll

Defines one caller on the channel: its stream, and who it is, as the platform reads it off the connection.

public interface IDaemonChannelCaller : IAsyncDisposable
Inherited Members

Properties

Stream

Gets the caller's stream.

Stream Stream { get; }

Property Value

Stream

Methods

Identify()

Reads who the caller is.

DaemonCallerInfo Identify()

Returns

DaemonCallerInfo

Who the caller is, and whether they may use the app.

Remarks

It is asked only after the caller's first line was read, as Windows lets the service read its caller only once something has come over the pipe.

Exceptions

InvalidOperationException

The platform could not read the caller.