dotnet thoughts 

a dotnet developer's technical blog

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

No Responses to “Transfer Image Files using .Net remoting”

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

    Comment by mihi — June 30, 2008 @ 9:48 am

  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

    Comment by anuraj — June 30, 2008 @ 10:58 am

RSS feed for comments on this post. TrackBack URL

Leave a Response

*