資源簡介
微信自動回復 asp.net
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.IO;
using?System.Linq;
using?System.Web;
using?System.Web.Security;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.xml;
public?partial?class?_Default?:?System.Web.UI.Page
{
????const?string?Token?=?“你的token“;//你的token?
????protected?void?Page_Load(object?sender?EventArgs?e)
????{
????????string?postStr?=?““;
????????if?(Request.HttpMethod.ToLower()?==?“post“)
????????{
????????????System.IO.Stream?s?=?System.Web.HttpContext.Current.Request.InputStream;
????????????byte[]?b?=?new?byte[s.Length];
????????????s.Read(b?0?(int)s.Length);
????????????postStr?=?System.Text.Encoding.UTF8.GetString(b);
????????????if?(!string.IsNullOrEmpty(postStr))
????????????{
??????????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.CA....??????8218??2013-12-28?13:13??副本?Default.aspx.cs
????.CA....???????409??2013-12-28?12:58??副本?Default.aspx
-----------?---------??----------?-----??----
?????????????????8627????????????????????2
- 上一篇:Word格式轉換DocToDocx
- 下一篇:簡單三層+EF
評論
共有 條評論