/// <summary> /// 退出时将md5写到文件 /// </summary> public void Destroy() { string fullModule; if (_module != GameConfig.module_name) { fullModule = string.Format("{0}/{1}", Util.DeviceResPath, _module); } else { fullModule = Util.DeviceResPath; } Md5FileHelp.ForFile(_localMd5Dict, string.Format("{0}/{1}", fullModule, "md5file.txt")); Md5FileHelp.ForFile(_tmpMd5Dict, string.Format("{0}/{1}", fullModule, "tmp.txt")); }
public void WriteToLocalFile(string module) { Md5FileHelp.ForFile(localMd5Dict, module); }