Home / FAQ / ASP.NET / Files / How to check files exist in a particular directory
Try to use ‘System.IO.File.Exists(‘path’)’. path is the physical file path and it will return you a boolean value.
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.