开发者

WPF version of Silverlight GetResourceStream

开发者 https://www.devze.com 2023-02-17 23:09 出处:网络
Does WPF have something that does the same as Silverlight\'s public static StreamResourceInfo GetResourceStream(

Does WPF have something that does the same as Silverlight's

public static StreamResourceInfo GetResourceStream(
    StreamResourceInfo zipPackageStreamResourceInfo, Uri uriResource)

Returns a resource file from a location in the specified zip package.

as the Windows version of this function does this:

Returns a resourc开发者_开发问答e stream for a resource data file that is located at the specified Uri

Basically I want to read files from within a zip file without having to extract them all first, which I think is what the silverlight version of the function can do...


You can look into SharpZipLib here, here and for an alternative here.

0

精彩评论

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