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