From d9a05b74668f50c848000c461febbadb413ac68a Mon Sep 17 00:00:00 2001 From: Stefan Profanter Date: Wed, 13 Jul 2016 20:46:04 +0200 Subject: [PATCH] Code cleanup --- Src/Exchange.DkimSigner/DkimSigner.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Src/Exchange.DkimSigner/DkimSigner.cs b/Src/Exchange.DkimSigner/DkimSigner.cs index 3dbcf3dd..bbdddb15 100644 --- a/Src/Exchange.DkimSigner/DkimSigner.cs +++ b/Src/Exchange.DkimSigner/DkimSigner.cs @@ -18,11 +18,6 @@ namespace Exchange.DkimSigner public class DkimSigner { - /// - /// A value indicating whether or not the instance of the signer has been disposed. - /// - private bool disposed; - /// /// The headers that should be a part of the DKIM signature, if present in the message. /// @@ -183,9 +178,6 @@ public Dictionary GetDomains() /// public void SignMessage(DomainElementSigner domainSigner, MailItem mailItem) { - if (disposed) - throw new ObjectDisposedException("DkimSigner"); - using (Stream stream = mailItem.GetMimeReadStream()) { stream.Seek(0, SeekOrigin.Begin);