How to check files exist in a particular directory

Platform: ASP.NET| Category: Files

Try to use ‘System.IO.File.Exists(‘path’)’. path is the physical file path and it will return you a boolean value.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.