I'm uploading an image, and i need to store it with the rest of the requested content by the server.
so right now im using
streamreader getimg = new streamreader(imagepath); string image = getimg.readtoend(); getimg.close(); string DataToBeUploaded = "requested content..." + image + "more requested content";
Everything is working, but the pixels in the picture get mixed up by the time it gets to the server (heres an example: http://img35.imageshack.us/img35/7844/taskmngr.png )
I was thinking i had to use some special encoding for images when saving it as a string?