What the title says, really.
I have a named pipe. I would like to attempt a read, but if it doesn’t succeed after a timeout I’d like to still be able to use the pipe afterwards.
Is this possible with NamedPipeServerStream, or do I have to rethink the entire approach?
So far the only way I’ve found of cancelling a BeginRead is by disposing of the pipe.
For the record, I didn’t find a way. I still cancel a read that is taking too long by disposing of the stream, meaning that it can’t be used at all afterwards.