Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
int filesSkipped = 0;
foreach (FileInfo file in directory.GetFiles())
{
try
{
if(file.CreationTime.Date == DateTime.Today)
{
Console.WriteLine(file.FullName);
}
}
catch (IOException)
{
filesSkipped++;
}
}
Console.WriteLine("Skipped {0} files", filesSkipped);