Need help converting any extention to based64 and decode based64 back . 04-15-2017, 11:32 AM
#1
Hello everyone
I wrote a C# code that takes a .exe file , read it as binary using [ReadAllByte function ] , convert it to Based64 and save it to file then I wrote a vbs script to take the Based64 and convert it to .exe , all of that worked find , But When I tried to do the same thing for other files extentions it fails.
I want to do the same with ZIP file , Like :
C#: read zip file as Binary > convert it to based64 and save it to file.
VBS : read the based64 > convert it and save it as zip file.
I appreciate the help
I wrote a C# code that takes a .exe file , read it as binary using [ReadAllByte function ] , convert it to Based64 and save it to file then I wrote a vbs script to take the Based64 and convert it to .exe , all of that worked find , But When I tried to do the same thing for other files extentions it fails.
I want to do the same with ZIP file , Like :
C#: read zip file as Binary > convert it to based64 and save it to file.
VBS : read the based64 > convert it and save it as zip file.
I appreciate the help


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)


![[Image: hJkWWcF.png]](http://i.imgur.com/hJkWWcF.png)















