Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Image trnasfer using Remoting

Image trnasfer using Remoting

Scheduled Pinned Locked Moved C#
graphicsquestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nagendra Kamath K
    wrote on last edited by
    #1

    Using remoting, when an Image?Bitmap is transfered, it is recieved in "NativeImage" format, from which the Image cannot be got back. Is there any other method of transfering Image using Remoting. CHEERS

    H 1 Reply Last reply
    0
    • N Nagendra Kamath K

      Using remoting, when an Image?Bitmap is transfered, it is recieved in "NativeImage" format, from which the Image cannot be got back. Is there any other method of transfering Image using Remoting. CHEERS

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Typically, you serialize this to a byte[] array which marshals with no problems. This is also true for XML Web Services. Another, much faster way (that doesn't require serialization, which will degrade performance) is to use DIME and the Web Service Enhancements (WSE), though you could implement DIME yourself pretty easily since the WSE isn't supported on Windows (only on Windows NT is it supported). See DIME: Sending Files, Attachments, and SOAP Messages Via Direct Internet Message Encapsulation -- MSDN Magazine, December 2002[^] for a conceptual overview and links to many resources (including the DIME specs), as well as a link to the WSE[^] which already includes these extensions and can be integrated with .NET Remoting and XML Web Services rather easily (especially the latter).

      Microsoft MVP, Visual C# My Articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups