2 writes to internalSerialStream
System (2)
sys\system\io\ports\SerialPort.cs (2)
647
internalSerialStream
= null;
834
internalSerialStream
= new SerialStream(portName, baudRate, parity, dataBits, stopBits, readTimeout,
48 references to internalSerialStream
System (48)
sys\system\io\ports\SerialPort.cs (48)
121
return
internalSerialStream
;
136
internalSerialStream
.BaudRate = value;
150
return
internalSerialStream
.BreakState;
157
internalSerialStream
.BreakState = value;
170
return
internalSerialStream
.BytesToWrite;
183
return
internalSerialStream
.BytesToRead + CachedBytesToRead; // count the number of bytes we have in the internal buffer too.
201
return
internalSerialStream
.CDHolding;
213
return
internalSerialStream
.CtsHolding;
231
internalSerialStream
.DataBits = value;
248
internalSerialStream
.DiscardNull = value;
261
return
internalSerialStream
.DsrHolding;
272
dtrEnable =
internalSerialStream
.DtrEnable;
279
internalSerialStream
.DtrEnable = value;
333
internalSerialStream
.Handshake = value;
342
get { return (
internalSerialStream
!= null &&
internalSerialStream
.IsOpen); }
378
internalSerialStream
.Parity = value;
392
internalSerialStream
.ParityReplace = value;
463
internalSerialStream
.ReadTimeout = value;
505
rtsEnable =
internalSerialStream
.RtsEnable;
512
internalSerialStream
.RtsEnable = value;
535
internalSerialStream
.StopBits = value;
574
internalSerialStream
.WriteTimeout = value;
645
internalSerialStream
.Flush();
646
internalSerialStream
.Close();
657
internalSerialStream
.DiscardInBuffer();
665
internalSerialStream
.DiscardOutBuffer();
837
internalSerialStream
.SetBufferSizes(readBufferSize, writeBufferSize);
839
internalSerialStream
.ErrorReceived += new SerialErrorReceivedEventHandler(CatchErrorEvents);
840
internalSerialStream
.PinChanged += new SerialPinChangedEventHandler(CatchPinChangedEvents);
841
internalSerialStream
.DataReceived += new SerialDataReceivedEventHandler(CatchReceivedEvents);
890
bytesReadToBuffer +=
internalSerialStream
.Read(buffer, offset + bytesReadToBuffer, bytesLeftToRead);
945
int bytesInStream =
internalSerialStream
.BytesToRead;
949
readLen +=
internalSerialStream
.Read(inBuffer, readLen, bytesInStream); // read all immediately avail.
966
nextByte =
internalSerialStream
.ReadByte(InfiniteTimeout);
968
nextByte =
internalSerialStream
.ReadByte(timeout - timeUsed);
1019
int bytesInStream =
internalSerialStream
.BytesToRead;
1021
readLen +=
internalSerialStream
.Read(inBuffer, readLen, bytesInStream); // should execute instantaneously.
1059
readLen +=
internalSerialStream
.Read(inBuffer, readLen, maxReadSize);
1174
return
internalSerialStream
.ReadByte(); // otherwise, ask the stream.
1188
internalSerialStream
.Read(bytesReceived, CachedBytesToRead, bytesReceived.Length - (CachedBytesToRead)); // get everything
1243
int bytesInStream =
internalSerialStream
.BytesToRead;
1246
readLen +=
internalSerialStream
.Read(inBuffer, readLen, bytesInStream);
1347
internalSerialStream
.Write(bytesToWrite, 0, bytesToWrite.Length, writeTimeout);
1386
internalSerialStream
.Write(buffer, offset, count, writeTimeout);
1401
SerialStream stream =
internalSerialStream
;
1414
SerialStream stream =
internalSerialStream
;
1427
SerialStream stream =
internalSerialStream
;