private void UserAgentRequestCallback(string userAgent) { try { browserInfo = new WebBrowserInfo(userAgent); } catch (Exception e) { Error = e.Message; } }
private void UserAgentRequestCallback(string userAgent) { try { browserInfo = new WebBrowserInfo(userAgent); } catch(Exception e) { Error = e.Message; } }
public bool VersionGreaterThanOrEqualTo(WebBrowserInfo.BrowserType browser, string minVersion) { Contract.PropertyNotNull("browserInfo", browserInfo); return browserInfo.MeetsMinimum(browser, minVersion); }