by Mike [mqjones at uwalumni dot com] posted on 2005/01/03 |
|
I have implemented a SecureTcpClient with a servername and portNumber. I would like to read the stream using a StreamReader, however the stream that is returned from the GetStream call is of type SecureNetworkStream rather then System.IO.Stream.
Can a SecureNetworkStream be cast to type System.IO.Stream so that it can be read with a StreamReader, or is there a special StreamReader available that will take in type SecureNetworkStream?
Thanks, Mike |