Unable to send cookies with RestSharp
I have been trying to access a REST-based API on a Windows Phone using a few different approaches, but I seem to be running into issues with attaching cookies to the request with all of them. I have tried the WebClient approach (which now seems to have become marked SecurityCritical, so you can no longer inherit from it and add code). I looked briefly at HttpWebRequest which seemed cumbersome at best. Now I am using RestSharp which seems decent to use, but I am still having problems with my cookies not being added to the request when it's sent. My code is as follows: // ... some additional