Sending binary data from ASP to .net component
Posted
by john
on Stack Overflow
See other posts from Stack Overflow
or by john
Published on 2009-07-24T20:43:52Z
Indexed on
2010/05/09
5:28 UTC
Read the original article
Hit count: 358
The ASP application allows uploading of image files (jpg, gif, tif). These files are sent to a .net component registered in the GAC of the server. In the component file is encoded using System.Text.Unicode to byte[] array. This encoding is done with some data loss. The byte array has values 253 and 255 in consequetive elements. What could be the problem ? I'm sending the binary data as a string.
Please help me...
Thanks in advance, John
© Stack Overflow or respective owner