Reputation:
I want to create a web browser in visual basic. So..I used WebBrowser control but when I visited this website https://www.whatismybrowser.com I realized that the program is recognized as Internet Explorer.. I searched for another options and I found GeckoFx, but before trying it I want to know if it is recognized as Mozilla or just my program name?
Upvotes: 0
Views: 359
Reputation: 2684
You can't make the sites know the exact name of your application - they know how to recognize certain browsers by certain patterns in the user agent string.
If you do end up using the WebBrowser control, keep the user agent what it is so sites treat it as IE, since that's what it uses to render everything.
Upvotes: 0
Reputation: 31
In Geckofx 33 or less - Gecko.GeckoPreferences.User["general.useragent.override"] = "user agent goes here";
In geckofx 45 things are different and it might be another way.
Upvotes: 1