Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to use file path (which is embedded in c#.net windows project) in File.exists() method? Is there any way to do this?
Posted

1 solution

you can use Assembly.GetManifestResourceNames Method[^] it will return array that contains the names of all the resources.
check on that array whether your searching file exist or not.

refer How can I discover the “path” of an embedded resource?[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900