-
C#自动更新服务(本地服务安装)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Common.WinService;using Common.Log;using System.Threading;using Common.Net;using System.Text.RegularExpressions;namespace Collection.AutoRunner{ //获取学生信息 public class Service_Update_Data : IWindowsService { private ILogWriter _logWriter = null; private const string logCategory = "Services.Info"; private string logInfoSource = "Update_Data"; private const string logErrorCategory = "Services.Error"; private const string logErrorSource = "Update_Data_Error"; private bool BeStop = true; private System.Timers.Timer timer = null; public void Start(Common.Log.ILogWriter logWriter, string gameCode) { gameCode = gameCode.ToUpper(); logInfoSource = gameCode; _logWriter = logWriter; BeStop = false; StartRequestData(); } int stata = 0; private void StartRequestData() { try { #region 配置 //时间频率 var UpdateStudentSpan = ServiceHelper.GetInterval("UpdateData"); //更新学生开始时间 var studentbegintime = ServiceHelper.GetInterval("StudentBeginTime"); //更新学生结束时间 var studentendtime = ServiceHelper.GetInterval("StudentEndTime"); //是否更新学生基本信息:true为更新 false为不更新 var IsUpdateStudnet =Convert.ToBoolean(ServiceHelper.GetSystemConfig("IsUpdateStudnet")); #endregion timer = ServiceHelper.ExcuteByTimer(UpdateStudentSpan, () => { int timeHour = DateTime.Now.Hour; if (timeHour == 3) stata = 0; #region 更新学生基本信息 if (studentbegintime
- 2015-03-11下载
- 积分:1
-
tqe
根据图片格式定义,实现快速读取图的分辨率大小(According to the image format definition, achieve rapid read figure resolution size)
- 2017-07-13 00:45:46下载
- 积分:1
-
反编译与逆向研发工具IDA.pro开发指南.pdf
【实例简介】
- 2021-10-04 00:31:04下载
- 积分:1
-
tslog
历史上最强大的windows日志系统,性能是log4c的3倍
(History' s most powerful windows log system performance is log4c of 3 times)
- 2010-06-21 00:59:05下载
- 积分:1
-
c# 嵌入式开发 报警系统源码下载
c# 嵌入式开发 报警系统源码下载
- 2013-12-29下载
- 积分:1
-
YuanChengBianJiZhuCheBiao
CSharp编辑远程编辑注册表类,大家可以(CSharp remotely edit the registry editing category, we can)
- 2007-09-13 17:41:10下载
- 积分:1
-
读取WebBrowser中的Cookies(含Session)信息 并赋值给HttpWebRequest 执行模拟网页操作
通常大家通过 webbrowser.document.cookies 只能得到cookie但是得不到 session,这个实例也得到了session
- 2013-01-05下载
- 积分:1
-
code
The RAMDISK is made to look like a hard drive. Consequently, the class
is "hdc". The class install section points the section containing
Registry entries for the class. On many machines, this is already
present.
- 2010-06-11 21:36:43下载
- 积分:1
-
HardwareID
获取 电脑 CPU 硬盘序列号 网卡MAC 主板 显卡 以及MD5 加密(Access to computer CPU hard drive serial number card MAC motherboard graphics and MD5 encryption)
- 2015-02-25 00:21:44下载
- 积分:1
-
goodsuperstar_Angel
一个小天使提醒工具的源代码,功能非常强大。感兴趣的朋友可以下来研究下。(A small angel to remind tools source code is very powerful. Interested friends can down under study.)
- 2011-12-29 15:31:39下载
- 积分:1