sslstrea.dispose() functionality

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zoho
    New Member
    • Mar 2012
    • 11

    sslstrea.dispose() functionality

    Hi
    I use networkstream with sockets in sslsteam socket server using c# like

    stream = new NetworkStream(s ocket, true); sslstream=new SslStream(strea m, false);

    My question is , if when call sslstream.dispo se() , will it dispose/close its inner stream and its socket too? Or Do I need to explicitly close all three resources sslstream.close ,stream.close and socket.close?

    Thanks
    zoho
Working...