/// <summary> /// 删除客户端指定目录的文件 /// </summary> /// <param name="path"></param> public void DeleteFiles(string path) { CommonAction.DeleteFiles(path); }
/// <summary> /// 删除客户端指定目录文件夹 /// </summary> /// <param name="path"></param> /// <returns></returns> public bool DeleteDir(string path) { return(CommonAction.DeleteDir(path)); }
/// <summary> /// 对比服务端和客户端文件 /// </summary> /// <param name="server"></param> /// <param name="client"></param> /// <returns></returns> public List <DifferentFile> GetDifferentFiles(MDirs server, MDirs client) { return(CommonAction.GetDifferentFiles(server, client)); }
/// <summary> /// 获取指定路径下的所有文件集合 /// </summary> /// <param name="path"></param> /// <returns></returns> public ApplicationEntity GetFiles(string path) { return(CommonAction.GetFiles(path)); }
/// <summary> /// 获取本机IP /// </summary> /// <returns></returns> public static string GetLocalIP() { return(CommonAction.GetLocalIP()); }
/// <summary> /// 获取指定路径下的所有文件集合 /// </summary> /// <param name="path"></param> /// <returns></returns> public static ApplicationEntity GetFiles(string path) { MyLog4NetInfo.LogInfo("文件日志:" + path); return(CommonAction.GetFiles(path)); }