How can I access PostData from WebBrowser.Navigating event handler?
问题 I've got a windows form in Visual Studio 2008 using .NET 3.5 which has a WebBrowser control on it. I need to analyse the form's PostData in the Navigating event handler before the request is sent. Is there a way to get to it? The old win32 browser control had a Before_Navigate event which had PostData as one of its arguments. Not so with the new .NET WebBrowser control. 回答1: That functionality isn't exposed by the .NET WebBrowser control. Fortunately, that control is mostly a wrapper around