Is it possible to compile a SoapHexBinary
back to an .exe
var str = new SoapHexBinary(File.ReadAllBytes(@"c:\test\test.exe")).ToString();
Console.WriteLine(str);
byte[] bytes = SoapHexBinary.Parse(str).Value
Note that there's no "compile" here - it is just bytes that happen to be an exe ; once you get the bytes back, they are still the same exe (if you'd sent a gif file, it would still be the same gif file, etc). If you want it as a file: write the bytes to the file system.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.