- 17
- 0
- 约8.93千字
- 约 9页
- 2019-09-25 发布于湖南
- 举报
C#比较文件和文件夹
效果图
1.获取文件信息类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UpgradeForm
{
class FileInformation
{
private string md5;
private string filename;
private string updateTime;
private string filepath;
private string filesize;
/// summary
/// 文件的MD5值
/// /summary
public string MD5
{
get { return md5; }
set { md5 = value; }
}
/// summary
/// 文件名(包括文件类型)
/// /summary
public string FileName
原创力文档

文档评论(0)