public void Dispose() { if (!disposed) { if (Elf != null) { Elf.Dispose(); } if (CD != null) { CD.Dispose(); } disposed = true; } }