随笔分类 - c#技术类
摘要:首先是邮件帮助类using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Mail;
using System.Windows.Forms; namespace zzEmail
{ //邮件帮助类 class MailHelper { SmtpClient smtpClient; //邮件实体类,包含用户名密码 MailModel mail; UserModel to; publi...
阅读全文
摘要:TCP中首先要在服务端开启监听,这样才可以从客户端链接using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Collections;
using System.Net; namespace Server
{ class Program { static UdpClient server; static ArrayList mblist; ...
阅读全文
摘要:using System;
using System.IO;
using System.Net;
using System.Text;
using System.Collections.Generic;
using System.Text.RegularExpressions; namespace scan
{ public class zzHttp { private const string sContentType = "application/x-www-form-urlencoded"; private const string sU...
阅读全文
摘要:using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System;
namespace Bll
{ /// /// 图片处理类 /// 1、生成缩略图片或按照比例改变图片的大小和画质 /// 2、将生成的缩略图放到指定的目录下 /// public class ImageHepler { public Image ResourceImage, ReducedImage; private int ImageW...
阅读全文

浙公网安备 33010602011771号