C#/.Net Download file from premium rapidshare account
- by Simon
Hello, how can I log to premium rapidshare account from my source?
I tryed this but it is not working:
string authInfo = "name" + ":" + "pass";
authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(authInfo));
client.Headers["Authorization"] = "Basic " + authInfo;
client.DownloadFile("url", "C:\\Temp\\aaaa.file");
OR
WebClient client = new WebClient();
client.Credentials = new NetworkCredential("name", "pass");
client.DownloadFile("url", "C:\\Temp\\aaaa.file");
Is there any simple way how download the file directly from rapidshare premium?
Thank you a lot!
Regards,
simon