I am currently trying to keep a counter on c# on a local file folder for new files that are created.
I have two sub directories to CD and LP that I have to keep checking.
Maybe some pseudo code might help
static int CDcounter = 0;
static int LPcounter = 0;
public void returnFileCount()
{
//Location of Files
string[] files = Directory.GetFiles(@"C:\Data\LotData");
//if file sub directory = cd go in and check for new files
//if new files pop up in cd CDcounter ++ same for LP
}