I honestly haven't got a clue about what you're trying to do!
I cannot see why you would want to use memorystreams, base64 encoding, splitting into 100 char chunks that apparently are put in "s. It seems to me that you're making this much more complicated than it has to be. Also if you're expecting to still be able to execute a file after it has been encrypted, I'll have to 2nd dunfiddlin - that simply cannot be done. If you could just explain in words, what you're trying to do, helping you would be much easier - your code simply does not make much sense; at least not to me.





Reply With Quote