Skip to content

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

2 Comments

  1. mihi

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

    Posted on 30-Jun-08 at 9:48 am | Permalink
  2. 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

    Posted on 30-Jun-08 at 10:58 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*