Checking if the App.Config file exists

  • Thread starter Thread starter timexsinclair2068
  • Start date Start date
T

timexsinclair2068

This is a very simple question. Is there a simple,short way of
checking if the application's App.Config file exists?

Thanks!
 
if u meant application's .exe.config . from app , getassembly
location , add the assembly name + exe + config and do a File.Exists()
 
Back
Top