DotNetBrowser 1.8.1 introduced a new API that allows to work with the back-forward navigation history. Now it is possible to navigate to any entry in this history and even remove some entries from it.

All this functionality is available through the Browser.BackForwardNavigator property.

The controller’s interface allows to perform the following actions:

  • Get the current navigation entry using the IBackForwardNavigator.CurrentEntry property;

  • Get the collection of all entries using the IBackForwardNavigator.Entries property;

  • Load the specific entry using the IBackForwardNavigator.GoTo() method;

  • Load the entry by its offset using the IBackForwardNavigator.Forward() and IBackForwardNavigator.Back() methods;

  • Remove navigation entries from the history using the IBackForwardNavigator.Remove() method.