Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 722259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:58:08+00:00 2026-05-14T05:58:08+00:00

Is it posible to dump/save an in memory object so that the dump contains

  • 0

Is it posible to dump/save an in memory object so that the dump contains both the state and methods and then transfer it across the wire. I’m primarily using C# but if this can be done in some other technology, that should be good .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:58:09+00:00Added an answer on May 14, 2026 at 5:58 am

    By “the dump contains the methods”, that would depend on the language and runtime a lot.

    In typical statically typed OO languages, the methods of an object are determined by its type, so you only need to send an identifier for the type, assuming the recipient has the same code installed. The recipient just instantiates a blank object of that type and populates it with the received data.

    “Sending the methods” could mean all kinds of things: negotiating with the recipient to see if they have certain assemblies (compiled code), if not then sending them (or telling it to download them from somewhere) then sending the data to instantiate the object with. Doing this automatically would typically be a massive security risk! Hence it rarely happens automatically.

    This is essentially how a web server sends you a video. If you don’t have the required plug-in, it gets you to download it, and then sends you the data to instantiate an instance of the plug-in.

    With a very dynamic language like JavaScript, the division between code and data is more seamless. The following declaration is roughly equivalent to an object with a method:

    {
        counter: 5,
        increment: function() { this.counter++; }
    }
    

    This snippet of text could be sent over the network, and then the recipient could use eval to turn it into an actual object:

    c.increment();
    c.increment();
    
    alert(c.counter); // displays 7
    

    Again, this is essentially what modern web pages are: a combination of declared structure (in HTML) and small pieces of executable script, which are sent over the internet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Tomcat Application Server that is configured to create a memory dump
I am working on a VB6 application that uses an ADODB.Recordset object to dump
Is it possible to dump the occupied memory of a process with Windows 7
Is it possible to save dynamic text from a website and dump it into
Is it possible to get input from a user using PHP CLI, then dump
See this SuperUser question . To summarize, VM software lets you save state of
I know that it's possible to dump heap when an OutOfMemoryException is occuring on
Is it possible to pause a process, save the memory contents to a file,
Is it possible to save/dump core file using gdb? Sometimes I want to save
Is it possible to get a thread dump of a Java Web Start application?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.