c#读写apk的 comment

写入:

ZipFile zipFile = new ZipFile("C:\\Users\\Administrator\\Desktop\\2.apk");
zipFile.BeginUpdate();
zipFile.SetComment("success");
zipFile.CommitUpdate();
zipFile.IsStreamOwner = false;
zipFile.Close();

 

 

读取:

ZipFile zipFile = new ZipFile("C:\\Users\\Administrator\\Desktop\\2.apk");
string str = zipFile.ZipFileComment;

 

posted @ 2019-08-28 14:09  沉迷编程的程序员  阅读(338)  评论(0编辑  收藏  举报