Transfer Image Files using .Net remoting

Here is the sequence for downloading an Image from remoting server to client.

  • Save image into Memorystream.
  • Extract byte array
  • Transfer byte array
  • Recreate image object from byte array.

Create a class which inherits MarshalByRefObject, and create a public method, which returns a byte array.

In the client side, invoke this method and convert the byte array to image.

About .Net remoting :
http://msdn2.microsoft.com/en-us/webservices/aa740645.aspx
Converting byte array to Image and Image to byte array :
http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=799

This entry was posted in .Net. Bookmark the permalink.

0 Responses to Transfer Image Files using .Net remoting

  1. mihi says:

    Please send us a sample code for Transfer Image Files using .Net remoting

  2. anuraj says:

    Mihi

    It is not a big thing. You can do it :)

    Currently I am not in a position to send you samples. Sorry for the Inconvenience caused to you.

    Anuraj

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>