Question

I'm looking for a way to share object between two processes. First process should create the object and the second should only copy it without making any change in the original.

Does anyone have an idea how to do that?

Était-ce utile?

La solution

You don't need shared memory : the first process can expose a WCF (or .NET Remoting) service, and the second process will be able to call it. Make sure your object is serializable.

Autres conseils

in .net2.0 or lower you can not use wcf, but you can use some library like wcf, for example ICE Framework, you can download and read about it, on below link ICe Framewrok

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top