tanGee
tanGee

Reputation: 573

WPF version of Silverlight 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 resource 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...

Upvotes: 1

Views: 343

Answers (1)

Vincent Vancalbergh
Vincent Vancalbergh

Reputation: 3337

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

Upvotes: 1

Related Questions