-
C# pop3 邮件接收程序
private void Connect_Click(object sender, System.EventArgs e) { //将光标置为等待状态 Cursor cr = Cursor.Current; Cursor.Current = Cursors.WaitCursor; String a ,b,c; //用110端口新建POP3服务器连接 Server = new TcpClient(PopServer.Text, 110); Status.Items.Clear(); try { //初始化 NetStrm = Server.GetStream(); RdStrm = new StreamReader(Server.GetStream()); Status.Items.Add(RdStrm.ReadLine()); //登录服务器过程 Data = "USER " Username.Text CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); Status.Items.Add(RdStrm.ReadLine()); Data = "PASS " Password.Text CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); Status.Items.Add(RdStrm.ReadLine()); //向服务器发送STAT命令,从而取得邮箱的相关信息:邮件数量和大小 Data = "STAT" CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); //Status.Items.Add(RdStrm.ReadLine()); //改变按钮的状态 Connect.Enabled = false; Disconnect.Enabled = true; Retrieve.Enabled = true; //将光标置回原来状态 Cursor.Current = cr; } catch (InvalidOperationException err) { Status.Items.Add("Error: " err.ToString()); } }
- 2014-11-02下载
- 积分:1
-
cPP
很好的c++编程指导教材,使你认识到自己的编程细节问题,成为真正的编程高手!(IT is a good book which will help you improve your ability!)
- 2011-09-26 22:43:53下载
- 积分:1
-
screenstart
用vc++.net开发的程序启动屏幕的一种新的方法,相信对大家会有所帮助。(with vc. Net development of the commencement of proceedings screen a new approach, I believe we will be of assistance.)
- 2006-12-31 17:47:28下载
- 积分:1
-
ASP.NET
开始编辑,可以编辑点,线,面数据,保存编辑内容。(The editor can edit points, lines, and surface data, and save editing contents.)
- 2018-11-14 14:04:10下载
- 积分:1
-
UDiskFilter
说明: U盘过滤驱动系统源代码主要是用DDK来实现的(U disk drive system source code filter is mainly used to realize the DDK)
- 2008-09-30 16:09:26下载
- 积分:1
-
三维多孔介质数值模拟代码
fluent udf 多孔介质模型,用来解决多孔介质模拟的模型建立(Porous medium model of fluent udf)
- 2018-10-11 09:02:05下载
- 积分:1
-
CAM_simulator_src
一个老外写的车削数控仿真程序,有g代码编辑的(a foreigner was turning the NC simulation program, code editors g)
- 2021-04-22 23:08:48下载
- 积分:1
-
RTX
RTX系统控制LED源码,KEIL编译测试通过(RTX system to control the LED source, KEIL project)
- 2013-11-06 10:13:57下载
- 积分:1
-
4CPM
实现完整的4CPM(h=1/2)调制解调程序,包括消息序列生成,串并转换,升抽样成形滤波,数字上变频,多项式非线性效应,AWGN信道,到接收端数字下变频,降采样,匹配滤波,接收端基带信号星座图。(Message sequence generation, serial-parallel conversion, up sampling shaping filter, digital upconversion, polynomial nonlinear effects, AWGN channel, to the receiver digital down-conversion, down-sampling, the matched filter, the receiving end the baseband signal constellation.)
- 2021-04-08 11:09:00下载
- 积分:1
-
MediaPlayerCSharp
用C#语言编写的音乐播放器程序,实现了基本的功能,简便实用(With C# language with the music player program, to achieve the basic functions, simple and practical)
- 2013-06-10 16:03:19下载
- 积分:1