文章分类 -  网络发送

摘要:原文出处:http://blog.csdn.net/metababy/archive/2006/02/11/596723.aspxCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--/**////<summary>///////发送传真的方法,... 阅读全文
posted @ 2009-08-19 14:31 oraclejava 阅读(379) 评论(1) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-08-18 20:58 oraclejava 阅读(207) 评论(0) 推荐(0)
摘要:public static void DownloadByQQ(string url) { Type qqdown;//类型 object qqdowobj;//一个对象 object[] parameter = new object[6];//参数,因为我们调用的方法有6和参数。 所以定义了6个 if (url != null && url.Length >0) ... 阅读全文
posted @ 2009-08-18 20:28 oraclejava 阅读(421) 评论(0) 推荐(0)
摘要:using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Net;using System.IO;using System.Text;using System.Threading;private void... 阅读全文
posted @ 2009-08-18 16:14 oraclejava 阅读(314) 评论(0) 推荐(0)
摘要:可以,需要在WebConfig里面修改配置,默认的最大请求长度是4兆,但是可以改的如下:<system.web><httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="2097151" executionTimeout="900" /></system.web> 阅读全文
posted @ 2009-08-18 15:46 oraclejava 阅读(109) 评论(0) 推荐(0)
摘要:using System;using System.Runtime.InteropServices;namespace MyAssist{/// <summary>/// netstat 的摘要说明。/// </summary>public class netstat{[DllImport("wininet.dll")]private extern static bool ... 阅读全文
posted @ 2009-08-18 15:43 oraclejava 阅读(156) 评论(0) 推荐(0)
摘要:protectedvoidResponseFile(stringfileContent,stringfilename){stringcoding="gb2312";Response.Clear();Response.Charset=coding;Response.Buffer=true;this.EnableViewState=false;Response.ContentEncoding=Syst... 阅读全文
posted @ 2009-08-18 15:39 oraclejava 阅读(160) 评论(0) 推荐(0)