RAGOpoR
RAGOpoR

Reputation: 8168

How to get path of resources file?

I have added zip file to resources. How can I get that path?

Upvotes: 2

Views: 3953

Answers (1)

Klaus Byskov Pedersen
Klaus Byskov Pedersen

Reputation: 120927

The file does not have a path per se. You need to read its contents using the Assembly.GetManifestResourceStream method. You can read this step by step tutorial.

Upvotes: 3

Related Questions