Hi Daniel
Not sure if this helps. Is your objective to pass a binary file as a Dime
attachment?
If yes. Then just attach this bin file directly to dime. e.g.
C#
string filePath = "C:/myBinaryFile.bin";
DimeAttachment attchment = new DimeAttachment("application/octet-stream",
TypeFormatEnum.MediaType, filePath);
HttpSoapContext.ResponseContext.Attachments.Clear();
HttpSoapContext.ResponseContext.Attachments.Add(attachment);