public PyMceService() { InitializeComponent(); Log.Target = LogTarget.EventLog; // Create named pipe for IPC _pipe = new NamedPipeServerStream(ServiceName, PipeDirection.InOut, 1, PipeTransmissionMode.Message, PipeOptions.Asynchronous); Log.Trace("Pipe Constructed"); // Create the PyMCE Transceiver _transceiver = new Transceiver(TransceiverMode.PipeInput); _transceiver.SetPipe(_pipe); Log.Trace("Transceiver Constructed"); }