c# 288

#C#
C#客户端使用 http form的post方法提交图片

一、封装的类 using System; using System.Collections.Generic; using System.Linq; using System.Tex…

c#
2015-05-20 718

#C#
c#下实现ping操作代码

c#下实现ping操作代码 这里我写的是一个窗体程序。首先添加textbox,listbox,button控件,其中textbox录入域名或IP,listbox显示结果.  pri…

c#
2015-05-20 404

#C#
C# 两个目录同步的代码

C# 两个目录同步的代码 using System; using System.Collections.Generic; using System.IO; using System…

c#
2015-05-20 268

#C#
C#读取Excel文件,并保存为文本文件

using System; using System.Collections.Generic; using System.ComponentModel; using System.…

c#
2015-05-18 962

#C#
MVC API post方式调用

[HttpPost]         public string xdg()         { &…

c#
2015-05-15 602

#C#
C#连接数据库操作

vs2010中运行,必须引用Mysql.data /连接数据库/ using System; using System.Collections.Generic; using Sys…

c#
2015-05-12 862

#C#
C#递归遍历文件夹

List<FileInfo> list = new List<FileInfo>(); public void FindFile(string path, …

c#
2015-05-03 792

#C#
C#通过shell32获取文件属性

using System; using System.Collections.Generic; using System.Linq; using System.Text; usin…

c#
2015-05-02 306

#C#
C# 生成随机密码(随机字符串)

此代码可以随机生成指定长度的数字+字符的密码,可以自定义长度 /// <summary> /// 生成随机数的种子 /// </summary> /// &…

c#
2015-05-02 563

#C#
C#验证邮箱,电话,手机,数字,英文,日期,身份证,邮编,网址,IP类等常用函数封装

#region 验证邮箱验证邮箱 /**//// <summary> /// 验证邮箱 /// </summary> /// <param name=…

c#
2015-05-02 704

#C#
C# 操作系统服务(service)代码

C# 操作系统服务(service)代码 可以控制启动和停止系统服务 private bool StopService(string StopServiceName) { Serv…

c#
2015-05-02 893

#C#
C#实现的字符串加密和解密方法

C#实现的字符串加密和解密方法 public class Encrypt { //默认密钥向量 private static byte[] Keys = { 0x12, 0x34,…

c#
2015-05-02 886
1 9 10 11 12 13 24