public ResponseModel Show() { ResponseModel responseModel = new ResponseModel { Code = 200, Result = "获取属性成功" }; responseModel.Data = new Dictionary <string, string>(); responseModel.Data.Add("文件路径", FilePath); responseModel.Data.Add("文件名称", FileName); responseModel.Data.Add("文件大小", FileSize); responseModel.Data.Add("MD5值", Md5); responseModel.Data.Add("创建时间", CreationTime); responseModel.Data.Add("最后访问时间", LastAccessTime); responseModel.Data.Add("最近一次编辑时间", LastWriteTime); responseModel.Data.Add("文件属性", AuthString); responseModel.Data.Add("属性代码", AuthCode.ToString()); responseModel.Data.Add("属性说明", AuthRemark); return(responseModel); }