How to restrict network access for child process in windows
I am starting a child process in my C # console application using the Process.Start () method. I would like to restrict the child process so that it cannot access the network.
Specifically, I am trying to run some tests by running vstest.console.exe using Process.Start (). The goal is that these tests should not access any slow or unreliable resources like network, database, etc. Any tests trying to talk over the network should fail.
I have searched the web and stackoverflow, but the closest match I got is an unanswered question . Any ideas?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: