A very simple Named Pipe Server implementation that makes it easy to pass string messages between two applications.
MarkdownMonster.NamedPipeManager
public class NamedPipeManager : object
Class Members
Member | Description | |
---|---|---|
Constructor |
||
ReceiveString |
||
NamedPipeName |
||
PipeServerThread |
||
StartServer |
Starts a new Pipe server on a new thread public void StartServer() |
|
StopServer |
Shuts down the pipe server... Called from a different thread but writes a message to the pipe to shut itself down. public void StopServer() |
|
WaitForThreadShutDown |
public void WaitForThreadShutDown(int ms) |
|
Write |
Write a client message to the pipe public bool Write(string text, Â Â Â Â int connectTimeout) |
Requirements
Namespace: MarkdownMonsterAssembly: markdownmonster.exe
© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic