Method | Description | |
---|---|---|
KillServer ( ) : void |
Kills the pipe server background thread if one is running.
|
|
SendMessage ( |
Send a message to a NAPS2 instance running a pipe server.
|
|
StartServer ( Action |
Start a pipe server on a background thread, calling the callback each time a message is received. Only one pipe server can be running per process.
|
Method | Description | |
---|---|---|
GetPipeName ( |
public static SendMessage ( |
||
recipient | The process to send the message to. | |
msg | string | The message to send. |
return | bool |
public static StartServer ( Action |
||
msgCallback | Action |
The message callback. |
return | void |