Append this commend to the end of the url:
&rc:emissionTime=633819525738564717The number should be random, and you can do like this:
"http://.....&rc:emissionTime=" + DateTime.Now.Ticks;
The it's the same trick like this one.
&rc:emissionTime=633819525738564717The number should be random, and you can do like this:
"http://.....&rc:emissionTime=" + DateTime.Now.Ticks;
using System.Net; //don't forget this
public string DownloadFile(string url, string username, string pw)
{
string strResult = "";
try
{
WebRequest oRequest = HttpWebRequest.Create(new Uri(url));
oRequest.Credentials = new NetworkCredential(username, pw);
WebResponse oResponse = oRequest.GetResponse();
using (StreamReader sr = new StreamReader(oResponse.GetResponseStream()))
{
strResult = sr.ReadToEnd();
sr.Close();
}
oRequest = null;
oResponse = null;
}
catch (WebException wex)
{
//your error handling here
}
return strResult;
}