Home > .Net > Transfer Image Files using .Net remoting

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

Categories: .Net Tags:
  1. mihi
    June 30th, 2008 at 09:48 | #1

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

  2. June 30th, 2008 at 10:58 | #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

  1. No trackbacks yet.