How to log in to WordPress dashboard using C#?

It works and it gets all cookies to get access to WordPress admin dashboard. You have to use SslStream and TcpClient. WebHelper in this code is WebClient with cookies support. It connects via SSL (https), creates CookieContainer and put it into WebClient (“WebHelper” in my code). You can modify this code to your needs of course.

http://pastebin.com/qAqCGLUj

Cheers

3 thoughts on “How to log in to WordPress dashboard using C#?”

  1. You don’t leave any sources for the WebHelper. Googled it, cannot find anything. Please let me know if you add sources. Otherwise this post really isn’t very useful at all unfortunately.

Leave a Reply

Your email address will not be published. Required fields are marked *