A common integrtion task is to scan all the files in a folder and process them.
This code sample shows how to read all the files in a directory and get the file name and the full file path and name. This code uses the System.IO.DirectoryInfo and System.IO.FileInfo objects.
We also get the directory to scan from the app.config file using System.Configuration.ConfigurationManager.AppSettings("directoryName")