Obfuscating and Injecting SharpZipLib DLL issues

Feb 4, 2011 at 12:22 PM

I'm trying to inject SharpZipLib into a SL obfuscated DLL and I have two questions:

1. Is this OK as per the licensing terms?

 

2. When injected, I'm having a run time exception (see below).  Any ideas?

Empty path name is not legal.  

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\n  

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\n  

at †††\n††††‡‘.†††\n††††‡.†††\n†††††‹(String )\n  

at †††\n††††‡‘.†††\n††††‡.†††\n†††††‡(Int32 )\n  

at ICSharpCode.SharpZipLib.Zip.Compression.DeflaterHuffman.†††\n†††††.†††\n†††††Œ()\n  

at ICSharpCode.SharpZipLib.Zip.Compression.DeflaterHuffman.FlushBlock(Byte[] stored, Int32 storedOffset, Int32 storedLength, Boolean lastBlock)\n  

at ICSharpCode.SharpZipLib.Zip.Compression.DeflaterEngine.†††\n†††††(Boolean , Boolean )\n  

at ICSharpCode.SharpZipLib.Zip.Compression.DeflaterEngine.Deflate(Boolean flush, Boolean finish)\n  

at ICSharpCode.SharpZipLib.Zip.Compression.Deflater.Deflate(Byte[] output, Int32 offset, Int32 length)\n  

at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Finish()\n  

at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Close()\n