/*********************************************************************/
        public void createDateFolder()
        {
            string result;
            //create folder with the year date
            string path = ism.createFolder("c:/OutputDir", GetDateTakenFromImage("c:/OutputDir").Year.ToString(), out result);
            //create folder with the month date
            string pathMonth = ism.createFolder(path, GetDateTakenFromImage("c:/OutputDir").Month.ToString(), out result);

            //move image
            ism.moveFile(path, pathMonth, out result);

            //notify logger
            m_logging.Log(, );

            //for thumbnails directory
            string pathFolder = ism.createFolder("c:/OutputDir", "Thumbnails", out result);
            //create folder with the year date
            string path2 = ism.createFolder("c:/OutputDir", "Year", out result);
            //create folder with the month date
            string pathMonth2 = ism.createFolder(path, "Month", out result);
            string ThumbSize  = ConfigurationManager.AppSettings["ThumbnailSize"];

            ism.AddFile(pathMonth, "Thumbnails", out result);

            //notify logger
            m_logging.
        }
Esempio n. 2
0
        public void createDateFolder()
        {
            ism.createFolder("c:/OutputDir", "Thumbnails");
            //create folder with the year date
            string path = ism.createFolder("c:/OutputDir", DateTime.MaxValue);
            //create folder with the month date
            string pathMonth = ism.createFolder(path, DateTime.DaysInMonth);

            //move image
            ism.moveFile(pathMonth);

            //notify logger
            m_logging.

            //for thumbnails directory
            //create folder with the year date
            string path = ism.createFolder("c:/OutputDir", "Year");
            //create folder with the month date
            string pathMonth = ism.createFolder(path, "Month");

            ism.createFile(pathMonth, "ThumbNail");

            //notify logger
            m_logging.
        }