Welcome Guest Search | Active Topics | Sign In | Register

Get EO and browser versions Options
penright
Posted: Tuesday, October 31, 2017 12:25:58 PM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 43
Is there a way at run time to get both EO version and maybe the browser version.
I would like to populate an about form.
Maybe any other info that might come in handy for a helpdesk.
eo_support
Posted: Tuesday, October 31, 2017 1:20:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

EO.WebBrowser are standard .NET dlls. So you would use any methods that you can use to get a .NET dll/type version to get EO.WebBrowser version.

To get the browser version, you will need to check the browser engine's user agent string. For example, you can use the following code to get the browser engine's user agent string:

Code: C#
string userAgent = (string)webView.EvalScript("navigator.userAgent");


You can then find out the version number from the user agent string.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.