资源简介
软件运行监测
设置软件路径后,自动检测软件是否运行,未运行则打开。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace rezincheck
{
public partial class frmCheck : Form
{
public string tpath apath xpath;
public static int tcacjcid;
public frmCheck()
{
IniFile myIni = new IniFile(Application.StartupPath + “\\set.ini“);
tpath = myIni.ReadString(“Transtool“ “apppath“ ““);
apath = myIni.ReadString(“Agenttool“ “apppath“ ““);
xpath = myIni.ReadString(“xt800path“ “apppath“ ““);
InitializeComponent();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 117 2018-05-11 14:00 WindowsFormsApplication2\app.config
文件 1150 2007-10-29 16:37 WindowsFormsApplication2\bin\Debug\check.ico
文件 213 2018-05-20 08:40 WindowsFormsApplication2\bin\Debug\set.ini
文件 117 2018-05-11 14:00 WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe.config
文件 32256 2018-05-20 09:16 WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.pdb
文件 11608 2018-05-30 10:09 WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe
文件 117 2018-05-11 14:00 WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.config
文件 490 2018-04-12 07:35 WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.manifest
文件 19968 2018-05-20 09:16 WindowsFormsApplication2\bin\Debug\瑞星代理传输监测.exe
文件 1150 2018-05-11 10:49 WindowsFormsApplication2\check.ico
文件 7246 2018-05-30 10:12 WindowsFormsApplication2\frmCheck.cs
文件 8728 2018-05-30 10:12 WindowsFormsApplication2\frmCheck.Designer.cs
文件 10357 2018-05-30 10:12 WindowsFormsApplication2\frmCheck.resx
文件 7153 2018-05-30 10:09 WindowsFormsApplication2\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 5624 2018-05-30 10:09 WindowsFormsApplication2\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 2575 2018-05-30 10:09 WindowsFormsApplication2\obj\x86\Debug\rezincheck.csproj.FileListAbsolute.txt
文件 978 2018-05-20 09:16 WindowsFormsApplication2\obj\x86\Debug\rezincheck.csproj.GenerateResource.Cache
文件 3168 2018-05-20 09:16 WindowsFormsApplication2\obj\x86\Debug\rezincheck.frmCheck.resources
文件 180 2018-05-20 09:16 WindowsFormsApplication2\obj\x86\Debug\rezincheck.Properties.Resources.resources
文件 4608 2018-05-11 14:00 WindowsFormsApplication2\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 1145 2018-05-11 09:18 WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.csproj.FileListAbsolute.txt
文件 978 2018-05-11 09:18 WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.csproj.GenerateResource.Cache
文件 19968 2018-05-20 09:16 WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.exe
文件 180 2018-05-11 09:18 WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.frmCheck.resources
文件 32256 2018-05-20 09:16 WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.pdb
文件 180 2018-05-11 09:16 WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.Properties.Resources.resources
文件 4990 2018-05-11 14:56 WindowsFormsApplication2\processini.cs
文件 502 2018-05-13 23:29 WindowsFormsApplication2\Program.cs
文件 1398 2018-05-11 09:06 WindowsFormsApplication2\Properties\AssemblyInfo.cs
文件 2860 2018-05-11 14:00 WindowsFormsApplication2\Properties\Resources.Designer.cs
............此处省略18个文件信息
评论
共有 条评论