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;

 

你可能感兴趣的:(c#读写apk的 comment)