unknown6656
unknown6656

Reputation: 2963

Webkit.NET set Local Storage data?

I am using WebKit.NET to simulate a WhatsApp-Bot. I have looked for the required LocalStorage files and loaded the WhatsApp connection data into my C# Application.

My local storage is currently a Directory<string, string> containing the relevant data, but I am unable to somehow transfer this data to my Webkit-WebkitBrowser-instance.

Does someone have an idea, how I could set the WebkitBrowser local storage?


Addendum №1: I used this code snippet to access my Google Chrome local storage files (which are SQLite-databases located in %LocalAppData%/Google/Chrome/UserData/Default/Local Stroage/....)


Edit №2: I tried using the Property Webkit::WebkitBrowser.LocalStorageDatabaseDirectory and setting it to the directory, in which the local storage files are residing - but it did not load the local storage ...

Upvotes: 1

Views: 262

Answers (0)

Related Questions