• 大小: 0.23M
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: C#  c  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.IO;
using System.Configuration;
using System.Threading;

namespace CocoWatcher
{
    public partial class ProcessWatcher : Servicebase
    {
        //字段
        private string[] _processAddress;
        private object _lockerForLog = new object();
        private string _logPath = string.Empty;


        /// 
        /// 构造函数
        /// 

        public ProcessWatcher()
        {
            InitializeComponent();

            try
            {
                //读取监控进程全路径
                string strProcessAddress = ConfigurationManager.AppSe

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

     文件        231  2011-02-12 10:46  CocoWatcher\CocoWatcher\App.config

     文件       8704  2010-12-13 16:52  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.exe

     文件        493  2010-12-13 16:47  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.exe.config

     文件      19168  2010-11-05 18:45  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.InstallLog

     文件      22016  2010-12-13 16:52  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.pdb

     文件      14328  2010-12-13 16:50  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.vshost.exe

     文件        493  2010-12-13 16:47  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.vshost.exe.config

     文件        490  2007-07-21 01:33  CocoWatcher\CocoWatcher\bin\Debug\CocoWatcher.vshost.exe.manifest

     文件     172032  2011-02-12 10:07  CocoWatcher\CocoWatcher\bin\Release\CocoWatcher.exe

     文件        230  2011-02-12 10:06  CocoWatcher\CocoWatcher\bin\Release\CocoWatcher.exe.config

     文件        753  2011-02-12 10:21  CocoWatcher\CocoWatcher\bin\Release\CocoWatcher.InstallLog

     文件      22016  2011-02-12 10:07  CocoWatcher\CocoWatcher\bin\Release\CocoWatcher.pdb

     文件      14328  2011-02-12 09:29  CocoWatcher\CocoWatcher\bin\Release\CocoWatcher.vshost.exe

     文件      28672  2008-07-25 11:17  CocoWatcher\CocoWatcher\bin\Release\InstallUtil.exe

     文件        286  2011-02-12 10:21  CocoWatcher\CocoWatcher\bin\Release\InstallUtil.InstallLog

     文件        114  2011-02-12 09:09  CocoWatcher\CocoWatcher\bin\Release\卸载.bat

     文件         79  2011-02-12 09:03  CocoWatcher\CocoWatcher\bin\Release\安装.bat

     文件     161862  2010-08-26 11:33  CocoWatcher\CocoWatcher\coco.ico

     文件       3770  2011-02-11 17:09  CocoWatcher\CocoWatcher\CocoWatcher.csproj

     文件        168  2011-02-11 17:09  CocoWatcher\CocoWatcher\CocoWatcher.csproj.user

     文件        751  2010-12-13 16:52  CocoWatcher\CocoWatcher\obj\Debug\CocoWatcher.csproj.FileListAbsolute.txt

     文件        845  2010-12-13 16:52  CocoWatcher\CocoWatcher\obj\Debug\CocoWatcher.csproj.GenerateResource.Cache

     文件       8704  2010-12-13 16:52  CocoWatcher\CocoWatcher\obj\Debug\CocoWatcher.exe

     文件      22016  2010-12-13 16:52  CocoWatcher\CocoWatcher\obj\Debug\CocoWatcher.pdb

     文件        180  2010-12-13 16:52  CocoWatcher\CocoWatcher\obj\Debug\CocoWatcher.ProjectInstaller.resources

     文件        180  2010-12-13 16:52  CocoWatcher\CocoWatcher\obj\Debug\CocoWatcher.Watcher.resources

     文件        776  2011-02-12 10:07  CocoWatcher\CocoWatcher\obj\Release\CocoWatcher.csproj.FileListAbsolute.txt

     文件        852  2011-02-12 10:07  CocoWatcher\CocoWatcher\obj\Release\CocoWatcher.csproj.GenerateResource.Cache

     文件     172032  2011-02-12 10:07  CocoWatcher\CocoWatcher\obj\Release\CocoWatcher.exe

     文件      22016  2011-02-12 10:07  CocoWatcher\CocoWatcher\obj\Release\CocoWatcher.pdb

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

评论

共有 条评论