StreamWriter writer = new StreamWriter("C:\\log.txt", true)
writer.WriteLine(reader.ReadToEnd());
Console.WriteLine("Download Complete, status {0}", response.StatusDescription);
reader.Close();
response.Close();
writer.Close();
i have not tested this code, but i think it should work
No comments:
Post a Comment