string host = "http://youtube.com/v/";
string end = ".flv";
WebClient Client = new WebClient ();
StreamReader sr = new StreamReader(@"ids.txt");
string line;
do
{
line = sr.ReadLine();
Client.DownloadFile(host+line+end,line+end);
}
while (line !=null);
sr.Close();
工作正常,但在我运行 flv/video 之后,这给了我这个错误 >
An error occurred when the file plays in Windows Media Player
为什么,我做错了什么?