摘要: string path = Application.StartupPath; SetAutoRun(path + @"\AppName.exe", true); /// /// 设置应用程序开机自动运行 /// /// 应用程序的文件名 /// 是否自动运行,为false时,取消自动运行 ... 阅读全文
posted @ 2018-11-16 10:41 _York 阅读(391) 评论(0) 推荐(0) 编辑
摘要: public class FtpUtil { string ftpServerIP; string ftpRemotePath; string ftpUserID; string ftpPassword; string ftpURI; /// /// 连接FTP ... 阅读全文
posted @ 2018-11-16 09:43 _York 阅读(162) 评论(2) 推荐(0) 编辑
摘要: /// /// sqlserver备份 /// public class SqlserverBack : IBack { private string backPath = string.Empty; public SqlserverBack() { backPath = Configu... 阅读全文
posted @ 2018-11-16 09:42 _York 阅读(202) 评论(0) 推荐(0) 编辑