This method of the WebBrowser class closes the Microsoft® Internet Explorer application.
public synchronized void Quit();