private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             cdata.Dispose();
         }
         DisposeHelper.OnDispose <MessageCryptoContainer>(disposing);
         disposed = true;
     }
 }
Beispiel #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;
     }
 }
Beispiel #4
0
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             fs.Dispose();
         }
         DisposeHelper.OnDispose <BlockFileWriter>(disposing);
         disposed = true;
     }
 }
Beispiel #5
0
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             clSocket.Dispose();
         }
         DisposeHelper.OnDispose <Client>(disposing);
         disposed = true;
     }
 }
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             svPipe.Dispose();
         }
         DisposeHelper.OnDispose <PipeConsoleServer>(disposing);
         disposed = true;
     }
 }
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             aes.Dispose();
         }
         DisposeHelper.OnDispose <AESCryptoProvider>(disposing);
         disposed = true;
     }
 }
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (Reader != null)
             {
                 Reader.Dispose();
                 Reader = null;
             }
         }
         DisposeHelper.OnDispose <OutcomingFileTransfer>(disposing);
         disposed = true;
     }
 }
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (Writer != null)
             {
                 Writer.Dispose();
                 Writer = null;
             }
         }
         DisposeHelper.OnDispose <IncomingFileTransfer>(disposing);
         disposed = true;
     }
 }
Beispiel #10
0
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (flushRequired)
             {
                 Flush();
             }
             msw.Close();
         }
         DisposeHelper.OnDispose <ClientLogger>(disposing);
         disposed = true;
     }
 }
Beispiel #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;
     }
 }