示例#1
0
 public static void InitRapidshare()
 {
     if (gRapidshare == null)
     {
         gRapidshare = GetRapidshare();
     }
 }
示例#2
0
 public static PB_Library.Rapidshare GetRapidshare()
 {
     PB_Library.Rapidshare rapidshare = new PB_Library.Rapidshare();
     rapidshare.Login             = XmlConfig.CurrentConfig.Get("Login");
     rapidshare.Password          = XmlConfig.CurrentConfig.Get("Password");
     rapidshare.DownloadDirectory = XmlConfig.CurrentConfig.Get("DownloadDirectory");
     //rapidshare.UnzipDirectory = XmlConfig.CurrentConfig.Get("UnzipDirectory");
     //rapidshare.TaskDirectory = XmlConfig.CurrentConfig.Get("Rapidshare/TaskDirectory");
     //rapidshare.ArchiveTaskDirectory = XmlConfig.CurrentConfig.Get("ArchiveTaskDirectory");
     //rapidshare.TraceDirectory = wr.TraceDir;
     return(rapidshare);
 }
示例#3
0
 public static PB_Library.Rapidshare GetRapidshare()
 {
     PB_Library.Rapidshare rapidshare = new PB_Library.Rapidshare();
     rapidshare.Login = XmlConfig.CurrentConfig.Get("Login");
     rapidshare.Password = XmlConfig.CurrentConfig.Get("Password");
     rapidshare.DownloadDirectory = XmlConfig.CurrentConfig.Get("DownloadDirectory");
     //rapidshare.UnzipDirectory = XmlConfig.CurrentConfig.Get("UnzipDirectory");
     //rapidshare.TaskDirectory = XmlConfig.CurrentConfig.Get("Rapidshare/TaskDirectory");
     //rapidshare.ArchiveTaskDirectory = XmlConfig.CurrentConfig.Get("ArchiveTaskDirectory");
     //rapidshare.TraceDirectory = wr.TraceDir;
     return rapidshare;
 }
示例#4
0
 public static void InitRapidshare()
 {
     if (gRapidshare == null)
         gRapidshare = GetRapidshare();
 }