public static void InitRapidshare() { if (gRapidshare == null) { gRapidshare = GetRapidshare(); } }
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); }
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; }
public static void InitRapidshare() { if (gRapidshare == null) gRapidshare = GetRapidshare(); }