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
namestringThe endpoint returned by the server.
cancellationTokenCancellationTokenCancels waiting for the server.