Search code examples
c#google-chromesettingspreferences

google chrome browser - read/write settings in C#


I need to build a console program to read and update the chrome browser setting.

Where should I start?


Solution

  • Check if you can modify the following file.

    Location - c:\Users\\AppData\Local\Google\Chrome\User Data\Default\Preferences

    This file contains a few settings. I have never done this so not sure if you can modify the file. But looks like a good start. Also, not sure if chrome rebuilds the file. (It was updated when I opened chrome while this file was open on my machine).