//Implement whichever events you wish public void BeforeNavigate2(object pDisp, ref object URL, ref object flags, ref object targetFrameName, ref object postData, ref object headers, ref bool cancel) { var urlUri = new Uri(URL.ToString()); string tFrame = null; if (targetFrameName != null) { tFrame = targetFrameName.ToString(); } var args = new BrowserExtendedNavigatingEventArgs(pDisp, urlUri, tFrame, UrlContext.None); _Browser.OnStartNavigate(args); cancel = args.Cancel; pDisp = args.AutomationObject; }