I have an application that runs at user login and checks the users password expiration if the password was just changed the program will open up a browser. After the user interfaces with the website and closes it I want windows to continue booting. Is there anyway to halt the system startup until the browser is closed from c#?
Share
How are you opening the browser?
You can start a new process and keep a handle to it. Then you can call
Process.WaitForExit();I haven’t had a chance to test it – but I believe you can do this:
I believe this will start the default browser and wait for you to close it. You can also listen for an exit event – but I think this is what you are asking for.