예제 #1
0
 public virtual void Close()
 {
     Stream = null;
     if (web != IntPtr.Zero)
     {
         OpenSSL.BIO_free_all(web);
     }
 }
예제 #2
0
 public void Close()
 {
     if (in_bio != IntPtr.Zero)
     {
         OpenSSL.BIO_free_all(in_bio);
     }
     if (ctx != IntPtr.Zero)
     {
         OpenSSL.SSL_CTX_free(ctx);
     }
 }