If I instance a new Process in which I then create a new AppDomain, I'm wondering what is the safest way to end the Process. Should I:
- AppDomain.Unload(myAppDomain)
- Process.Close() OR Process.Dispose(), then Process.Close()
If I instance a new Process in which I then create a new AppDomain, I'm wondering what is the safest way to end the Process. Should I:
No, there is no need to unload your domain manually before closing the process. And you should call only Process.Close().