/////////////////////////////////////////////////////////////////////////////////////////////// #if NET_40 && CONSOLE private static Stream GetInnerStream( Stream stream ) { ChannelStream channelStream = stream as ChannelStream; if (channelStream == null) { return(null); } return(channelStream.GetStream()); }
/////////////////////////////////////////////////////////////////////////////////////////////// public Stream GetInnerStream() { CheckDisposed(); return((stream != null) ? stream.GetStream() : null); }