• 大小: 0.03M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 上传  c  控制  控制台  t  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            watcherstrat(@“d:\spring“ “*.*“);
            // Console.ReadKey();
            Console.WriteLine(“------------------------“);
            Console.ReadKey();
        }
        private static void watcherstrat(string path string filter)
        {
           FileSystemWatcher watcher = new FileSystemWatcher();
            watcher.Path = path;
            watcher.Filter = filter;
            watcher.Changed += new FileSystemEventHandler(onprocess);
            watcher.Changed += new FileSystemEventHandler(onprocess);
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     39936  2018-05-30 15:49  ConsoleApplication1\.vs\ConsoleApplication1\v14\.suo

     文件        189  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\App.config

     文件       6656  2018-05-30 15:24  ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe

     文件        189  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe.config

     文件      13824  2018-05-30 15:24  ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb

     文件      22696  2018-05-30 15:22  ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.vshost.exe

     文件        189  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.vshost.exe.config

     文件        490  2015-06-04 12:48  ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.vshost.exe.manifest

     文件       2698  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj

     文件        462  2018-05-30 15:22  ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.csproj.FileListAbsolute.txt

     文件       6656  2018-05-30 15:24  ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe

     文件      13824  2018-05-30 15:24  ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.pdb

     文件       6794  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       2707  2018-05-30 15:24  ConsoleApplication1\ConsoleApplication1\Program.cs

     文件       1364  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\Properties\AssemblyInfo.cs

     文件       1024  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1.sln

     目录          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\obj\Debug\TempPE

     目录          0  2018-05-30 15:10  ConsoleApplication1\.vs\ConsoleApplication1\v14

     目录          0  2018-05-30 15:21  ConsoleApplication1\ConsoleApplication1\bin\Debug

     目录          0  2018-05-30 15:21  ConsoleApplication1\ConsoleApplication1\obj\Debug

     目录          0  2018-05-30 15:10  ConsoleApplication1\.vs\ConsoleApplication1

     目录          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\bin

     目录          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\obj

     目录          0  2018-05-30 15:10  ConsoleApplication1\ConsoleApplication1\Properties

    ...D.H.         0  2018-05-30 15:10  ConsoleApplication1\.vs

     目录          0  2018-05-30 15:24  ConsoleApplication1\ConsoleApplication1

     目录          0  2018-05-30 15:10  ConsoleApplication1

............此处省略3个文件信息

评论

共有 条评论