is it possible to implement io completion port to c#?
is it possible to implement io completion port to c#?
private void CloseSerialOnExit()
{
try
{
serialPort1.DtrEnable = false;
serialPort1.RtsEnable = false;
serialPort1.DiscardInBuffer();
serialPort1.DiscardOutBuffer();
serialPort1.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Okey, fine, let me google that for you: https://dschenkelman.github.io/2013/10/29/asynchronous-io-in-c-io-completion-ports/is it possible to implement io completion port to c#?