-
filewatchservicetest
使用FileSystemWatcher监控网络路径(包含源代码)
在VS2005中,.Net里面有个FileSystemWatcher控件,用来监控文件变化,它会通知文件创建,修改,删除的消息。网上这样的例子很多,但是在实际应用的时候,发现还有一些待处理的问题,我做了一个简单的demo,解决了如下的问题:
1. 多次连续触发 (通过一个定时器来解决)
2. 能监控网路路径 (serviceProcessInstaller的Account属性设置为NetworkService)
3. 通过windows service来实现, 做成安装文件方便注册服务
注意事项:
1. 切记网络路径要给guest的权限,否则监控不了。
2. 修改Service1代码中的watcher.Path。
3. 新建文件c: est.log,将此文件设置为可写的权限。
4. 安装完成后手动将服务启动。(err)
- 2008-06-14 19:44:06下载
- 积分:1
-
分页
1IK J GHJGJG G JH JG JGJGJG HJGHJ(1J GYJYGGGGGJYGGGGGGGGGGGGGGGGGG)
- 2018-04-29 18:11:42下载
- 积分:1
-
USBCANEU_V1.00
c#、cb6、delphi7、labview8.2、vb6、vc6、vc8等版本usb转can界面开发,有利于usbcan通信界面开发(C#, cb6, delphi7, labview8.2, vb6, vc6, vc8 version, such as usb turn can interface development, is advantageous to the usbcan interface development of communication)
- 2013-11-23 21:45:28下载
- 积分:1
-
minitab
实验设计软件minitab中文版学习资料(minitab chinese learning materials)
- 2013-12-08 13:01:05下载
- 积分:1
-
music
说明: 在线音乐htm格式,全网通用,直接连接到百度,多米,音悦台等。(Online music, htm format, universal throughout the network, directly connected to Baidu, Domi, Yin Yuetai, etc.)
- 2020-04-24 17:52:23下载
- 积分:1
-
BANK-3P-LV
.NET银行系统,.NET银行系统,开户,转账,查询,取款,存款。登陆(.NET bank system,.NET bank system)
- 2013-07-29 16:22:31下载
- 积分:1
-
Rappaport_WirelessCommunicationTechnologies
Rappaport_Wireless Communication Technologies
Text Book
Rappaport_Wireless Communication Technologies
Text Book
- 2009-10-05 20:48:42下载
- 积分:1
-
Overcoming_IP_Address_Issues_with_GPRS_Remote_Mon
GPRS is a communication technology that allows data
acquisition systems to overcome the difficulty of cabling for
wide area remote sites. GPRS applications are becoming more
and more prevalent due to the ease with which they can be
implemented, but the dynamic IP address issues associated
with GPRS networking continue to frustrate system
integrators.
- 2011-10-18 04:27:27下载
- 积分:1
-
IEDModeler-0.8.4
数字化变电站保护IED模型文件编辑工具,老外免费软件,很好用。(Digital Substation IED protection model file editing tool, foreigners free software, easy to use.)
- 2014-06-02 13:20:00下载
- 积分:1
-
VPN_Client
通过建设虚拟专用网(VPN),将本地网拨入远程局域网(By building a virtual private network (VPN), dial the local network remote LAN)
- 2010-06-25 23:26:20下载
- 积分:1