WeiWeiXinNet/weixinsim.aspx.cs

(开头部分) 19KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Xml;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Collections.Generic;
using System.Collections.Specialized;


namespace WeiWeiXinNet
{
    public partial class weixinsim : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //读取的时候
            HttpCookie cookie2 = Request.Cookies["weiweixing"];

            if (cookie2 == null)
            {
                Response.Redirect("login.aspx");
                return;
            }

            string name = cookie2.Values["name"];
            if (name == null)
            {
                Response.Redirect("login.aspx");
                return;
            }

            string md5 = cookie2.Values["md5"];
            if (md5 == null)
            {
                Response.Redirect("login.aspx");
                return;
            }


        }

        /// <summary>
        /// 发送文本
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void ButtonOne_Click(object sender, EventArgs e)
        {

            if (WeTextBoxOne.Text.Trim() == "")
                WeTextBoxOne.Text = "文本消息";

            string xml = cTextXml(WeTextBoxOne.Text);
            string RT = SendToTest(xml);
            RT = XML2HTML(RT);
            WeTextBoxTwo.Text = " <font size=\"2\" color=\"#0000cc\">发送-文本(" + DateTime.Now.ToShortTimeString()+":"+DateTime.Now.Second.ToString() + "):" + WeTextBoxOne.Text + "</font><br/>" + RT + WeTextBoxTwo.Text;
后面还有 454 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。