how to change user agent in chromium embedded framework in c#?

user3463182 picture user3463182 · Mar 26, 2014 · Viewed 16k times · Source

Please help me changing user agent of chromium embedded framework in visual c#. It uses default chromium agent but i want to change it to use my browser name instead.

Answer

Dmitry Azaraev picture Dmitry Azaraev · Mar 26, 2014

Use CefSettings.UserAgent. Also it can be configured via "user-agent" command-line switch.