This method of the IWebBrowser2 interface retrieves the ready state of the object.
public int getReadyState();