Table of Contents

Class IpcClient

Namespace
Nerdbank.JsonRpc
Assembly
Nerdbank.JsonRpc.dll

Connects to same-machine, same-account named pipes (Unix-domain sockets on Unix).

public static class IpcClient
Inheritance
IpcClient
Inherited Members

Remarks

Access checks are mandatory. This does not isolate mutually hostile processes running as the same account.

Methods

ConnectAsync(string, CancellationToken)

Connects only to a local server owned by the current account.

public static Task<Stream> ConnectAsync(string name, CancellationToken cancellationToken = default)

Parameters

name string

The endpoint returned by the server.

cancellationToken CancellationToken

Cancels waiting for the server.

Returns

Task<Stream>

The caller-owned duplex stream.