Ejemplo n.º 1
0
        public override bool StartTask()
        {
            if (PipeStreamInstance == null)
            {
                return(false);
            }

            try
            {
                WriteTask = PipeStreamInstance.WriteAsync(WriteBuffer, 0, WriteBuffer.Length);
            }
            catch (Exception e) {
                Log.Warn("Error trying to write to pipe ", e.ToString());
                return(false);
            }

            return(true);
        }