private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             cdata.Dispose();
         }
         DisposeHelper.OnDispose <MessageCryptoContainer>(disposing);
         disposed = true;
     }
 }
예제 #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             blow.Dispose();
         }
         DisposeHelper.OnDispose <BlowfishCryptoProvider>(disposing);
         disposed = true;
     }
 }
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             rsa.Dispose();
         }
         DisposeHelper.OnDispose <RSACryptoProviderCryptoNET>(disposing);
         disposed = true;
     }
 }
예제 #4
0
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             fs.Dispose();
         }
         DisposeHelper.OnDispose <BlockFileWriter>(disposing);
         disposed = true;
     }
 }
예제 #5
0
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             clSocket.Dispose();
         }
         DisposeHelper.OnDispose <Client>(disposing);
         disposed = true;
     }
 }
예제 #6
0
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             svPipe.Dispose();
         }
         DisposeHelper.OnDispose <PipeConsoleServer>(disposing);
         disposed = true;
     }
 }
예제 #7
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             aes.Dispose();
         }
         DisposeHelper.OnDispose <AESCryptoProvider>(disposing);
         disposed = true;
     }
 }
예제 #8
0
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (Reader != null)
             {
                 Reader.Dispose();
                 Reader = null;
             }
         }
         DisposeHelper.OnDispose <OutcomingFileTransfer>(disposing);
         disposed = true;
     }
 }
예제 #9
0
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (Writer != null)
             {
                 Writer.Dispose();
                 Writer = null;
             }
         }
         DisposeHelper.OnDispose <IncomingFileTransfer>(disposing);
         disposed = true;
     }
 }
예제 #10
0
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (flushRequired)
             {
                 Flush();
             }
             msw.Close();
         }
         DisposeHelper.OnDispose <ClientLogger>(disposing);
         disposed = true;
     }
 }
예제 #11
0
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (svSocket != null)
             {
                 svSocket.Dispose();
             }
             asymCp.Dispose();
             symCp.Dispose();
             rng.Dispose();
         }
         DisposeHelper.OnDispose <Server>(disposing);
         disposed = true;
     }
 }