C
C#2y ago
Notro

Open file in first instance

Hi. Im creating WPF app, that can open files. But, when i have opened app and use "Open with *my app*" , it creates new instance. How can i send file arg to the first instance and read it?
2 Replies
MODiX
MODiX2y ago
Klarth#1705
You need some approach for IPC - Interprocess Communication. That usually means either TCP sockets, Named Pipes, gRPC, etc. There are some libraries that can help, but I can't personally recommend any as I don't use them.
Quoted by
<@!160638834109972480> from #gui (click here)
React with ❌ to remove this embed.
Notro
Notro2y ago
Yeah, i searched but could not find anything Ref