开发者

.NET: Package Part with ExtraData/Metadata?

开发者 https://www.devze.com 2023-02-23 08:38 出处:网络
Im using .NET Package and would like to store some extra data/metadata for each PackagePart. For now Im having a \"shadow\" file for each file. For myfile1.dat there is a myfile.dat.meta. In for insta

Im using .NET Package and would like to store some extra data/metadata for each PackagePart. For now Im having a "shadow" file for each file. For myfile1.dat there is a myfile.dat.meta. In for instance SharpZipLib it is possible to add ExtraData (byte[]) for each ZipEntry but for some reasons I开发者_如何学JAVA have choosen Package for this project. Is it possible somehow to add this functionality to (Zip)Package? I would like to be able to attach metadata to each PackagePart without using "shadow"-files. Is it possible to use ADS (Alternate Data Stream) for a ZipPackage? Any other options?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号