public VideoPipe(string pipeName) { this.pipeName = pipeName; this.pipedStream = new NamedPipeServerStream(pipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.Asynchronous); }