WHAT I HAVE:
Visual Basic 2019, WinForms, .NET 4.6+
I'm trying to use memory-mapped files to share data between different instances (of undetermined number) of my app. What I need to know is this: Does the file die when the current instance/process terminates or disposes of it, or does it survive until all instances/processes using it have terminated or disposed of it? The point is, I can't count on my instances finishing in any given order relative to the order in which they were started, and I need to access the same MMF data so long as any instance is running.
Please give me an answer ASAP, and, as for any code samples, keep it simple and in VB.NET.