lost extension

Jul 17, 2009 at 9:36 AM

When i use ths code

SevenZSharp.CompressionEngine.Current.Encoder.EncodeSingleFile(sb.ToString(), sb.ToString().Replace(".pdf", ".7z"));

the file lost the extension.

sb = StrihgBuilder(c:\\myfile.pdf");

Why this ?

Jul 21, 2009 at 6:32 AM

I have resolved. Thanks