%PDF- %PDF-
Direktori : /www/old2/_music/hotfile/ |
Current File : /www/old2/_music/hotfile/Program.cs |
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace hotfile { class Program { static void Main(string[] args) { if (File.Exists(args[0])) { hotfileDownloader hd = new hotfileDownloader(1, "waritko", "blade666"); hd.login(); StreamReader sr = File.OpenText(args[0]); string line; while (!sr.EndOfStream) { line = sr.ReadLine(); hd.addUrl(line); } sr.Close(); hd.doDownloads(); } else { Console.WriteLine("File {0} doesn't exist", args[0]); } } } }