private void Channel_ExtendedDataReceived(object sender, ChannelExtendedDataEventArgs e) { if (_extendedOutputStream != null) { _extendedOutputStream.Write(e.Data, 0, e.Data.Length); } }
private void Channel_ExtendedDataReceived(object sender, ChannelExtendedDataEventArgs e) { if (ExtendedOutputStream != null) { ExtendedOutputStream.Write(e.Data, 0, e.Data.Length); ExtendedOutputStream.Flush(); } if (e.DataTypeCode == 1) { _hasError = true; } }