I want to share a string among multiple instances of application in C#.
I am using .net framework 3.5 SP1. and this version does not support Memory-Mapped Files.
I can not use Disk IO because of some permission and performance issues.
so can anyone tell me a convenient way to do this.
I searched and came across some of them:
1. Serialization
2. Marshaling
3. Pipes
but all of these are too complicated to share just one string.
thanks
I want to share a string among multiple instances of application in C#. I
Share
You could use a database.
If you want shared memory I think one of the things you’ll run into is AppDomains see here: Here is an example to get around that: http://www.codeproject.com/Articles/17606/NET-Interprocess-Communication