Class IpcClient
Inheritance
System.Object
IpcClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Host.Diagnostics.DiagnosticsIpc
Assembly: AltV.Net.Host.dll
Syntax
public class IpcClient
Methods
| Improve this Doc View SourceSendMessage(Int32, IpcMessage)
Sends a single DiagnosticsIpc Message to the dotnet process with PID processId.
Declaration
public static IpcMessage SendMessage(int processId, IpcMessage message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | processId | The PID of the dotnet process |
| IpcMessage | message | The DiagnosticsIpc Message to be sent |
Returns
| Type | Description |
|---|---|
| IpcMessage | The response DiagnosticsIpc Message from the dotnet process |
SendMessage(Int32, IpcMessage, out IpcMessage)
Sends a single DiagnosticsIpc Message to the dotnet process with PID processId and returns the Stream for reuse in Optional Continuations.
Declaration
public static Stream SendMessage(int processId, IpcMessage message, out IpcMessage response)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | processId | The PID of the dotnet process |
| IpcMessage | message | The DiagnosticsIpc Message to be sent |
| IpcMessage | response | out var for response message |
Returns
| Type | Description |
|---|---|
| System.IO.Stream | The response DiagnosticsIpc Message from the dotnet process |