Hello Clayton,
>Can anyone give me a brief description of what I need to do to
transfer an image from a client/server application using C#? When I
googled, I found that first I need to convert the image into a stream
and than tranfser it. Is that right? How I'm going to convert back the
stream to an image? Using deserialization? If possible point out in
steps what I need to do!
Well, it depends. "Convert an image into a stream" - that doesn't say a
lot. An image is a block of bytes, basically, and you can easily send
those bytes, one by one, through a network connection, put them back
together on the other side and get the same image.
In practice, you may need to encode the byte stream somehow, according to
the needs of the communications protocol you're using - base64 would be
one example of such an encoding. When decoding the byte stream on the
other side, you would then have to use the corresponding algorithm of
course.
Oliver Sturm
--
http://www.sturmnet.org/blog