Application rewrite itself during runtime?
My question is, is it possible? I have tried looking using filestreamoptions.share but it doesn't allow writing to a program that is used, only reading. My only idea so far is for the application to start a new application, close itself and then have the second application edit the file and then open it again. However I would like the have the file keep its PID.