Before I begin, is it possible to write a .doc file with mixed content using a streamwriter? For example, I may have a .doc file with images and text - would a streamwriter be suitable for this? I assume a textwriter is for writing a text only document.
What I am trying to do is compress a file (format not known), which is easy enough. But what I am confused about is why would I call decompress? This will make the size its normal and larger value, so what is the point? If I want to compress a file and send it to a network drive, should I compress it, copy it to the network location, and decompress that to a new file? This app will be a windows service, so I will need to use Windows Impersonation, right?
Thanks