예제 #1
0
        //----< copy dlls from different folders to sendingfolder  >------------------

        private void CopyandSendFiles(List <string> files)
        {
            string path_ori = translater.getSendPath();
            //Console.Write(path_ori);
            List <string> dlls = new List <string>();

            foreach (string path_dll in files)
            {
                Console.Write(path_dll + "\n");
                string filename   = System.IO.Path.GetFileName(path_dll);
                string targetPath = System.IO.Path.Combine(path_ori, filename);
                System.IO.File.Copy(path_dll, targetPath, true);
                dlls.Add(filename);
                SendingFiles(filename);
            }
        }