C#编写的屏幕监控代码,可以自动对屏幕进行截图,软件自身隐藏 using System; using System.Collections.Generic; using Syste…
System.Data.SQLite数据库通用类 针对对数据库的操作情况,分为以下几种情况: 创建数据库文件; 返回DataTable; 返回DataReader; 执…
/// <summary> /// LunDay 的摘要说明。 /// 用法说明 /// 直接调用即可,比较简单 /// </summary> public…
using System.Net; string web = txtWeb.Text; IPHostEntry host = Dns.GetHostByName(web); IPA…
using System; using System.Collections.Generic; using System.Linq; using System.Text; usin…
要检查的变化,即从目录中删除目录或文件或文件夹、或者添加到一个新的文件或文件夹到一个目录下,我们必须使用FileSystemWatcher类。这个类允许我们通过程序来监控目录的变化…
C#获取本机IP地址 using System.Net; using System.Net.Sockets; string name = Dns.GetHostName(); va…
public static string GetMd5Hash(string pathName) { string strResult = ""; string…
这是一个C#实现的屏幕抓取程序,可以抓取整个屏幕保存为指定格式的图片,并且保存当前控制台缓存到文本 using System; using System.Collections.G…
public static string GetSHA1Hash(string pathName) { string strResult = ""; strin…
// The initial C# code for the WMI query was generated by WMI Code Generator, Version 5.00…
using System; using System.Collections.Generic; using System.Linq; using System.Text; usin…
C#通过FtpWebResponse 编写GUI 简易 FTP客户端