• 大小: 0.06M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 模拟  红包  

资源简介

模拟微信抢红包源码

源码描述:
一、源码特点
       一款模拟(模仿)微信抢红包源码,控制台,实现算法,获取手气最佳人及金额,仅供学习,有需要的朋友不要错过
二、注意事项
       开发环境为Visual Studio 2010,使用.net 2.0开发。
作者:zhangyg_cn

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading;

namespace RedPacket
{
    class Program
    {
        delegate bool ConsoleCtrlDelegate(int dwCtrlType);
        const int CTRL_CLOSE_EVENT = 2;
        [DllImport(“kernel32.dll“)]
        private static extern bool SetConsoleCtrlHandler(ConsoleCtrlDelegate HandlerRoutine bool Add);

        static void Main(string[] args)
        {
            //ConsoleCtrlDelegate newDelegate = new ConsoleCtrlDelegate(HandlerRoutine);
            //if (SetConsoleCtrlHandler(newDelegate true))
            //{
            #region 代码区

            GetRandomMoney();

            

            #endregion
            //}
            //else
            

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-02-23 10:03  SimulatedMicroChannelGrabRed\
     文件         117  2016-02-17 15:22  SimulatedMicroChannelGrabRed\app.config
     目录           0  2016-02-17 15:28  SimulatedMicroChannelGrabRed\bin\
     目录           0  2016-02-19 10:29  SimulatedMicroChannelGrabRed\bin\Debug\
     文件        7168  2016-02-17 15:26  SimulatedMicroChannelGrabRed\bin\Debug\ConsoleApplication1.exe
     文件         117  2016-02-17 15:22  SimulatedMicroChannelGrabRed\bin\Debug\ConsoleApplication1.exe.config
     文件       19968  2016-02-17 15:26  SimulatedMicroChannelGrabRed\bin\Debug\ConsoleApplication1.pdb
     文件         117  2016-02-17 15:22  SimulatedMicroChannelGrabRed\bin\Debug\ConsoleApplication1.vshost.exe.config
     文件         490  2013-06-18 20:28  SimulatedMicroChannelGrabRed\bin\Debug\ConsoleApplication1.vshost.exe.manifest
     文件        7168  2016-02-19 10:29  SimulatedMicroChannelGrabRed\bin\Debug\RedPacket.exe
     文件         117  2016-02-17 15:22  SimulatedMicroChannelGrabRed\bin\Debug\RedPacket.exe.config
     文件       17920  2016-02-19 10:29  SimulatedMicroChannelGrabRed\bin\Debug\RedPacket.pdb
     文件       11608  2016-02-19 10:30  SimulatedMicroChannelGrabRed\bin\Debug\RedPacket.vshost.exe
     文件         117  2016-02-17 15:22  SimulatedMicroChannelGrabRed\bin\Debug\RedPacket.vshost.exe.config
     文件         490  2012-06-02 22:34  SimulatedMicroChannelGrabRed\bin\Debug\RedPacket.vshost.exe.manifest
     目录           0  2016-02-19 10:57  SimulatedMicroChannelGrabRed\bin\Release\
     目录           0  2016-02-15 17:16  SimulatedMicroChannelGrabRed\obj\
     目录           0  2016-02-15 17:16  SimulatedMicroChannelGrabRed\obj\x86\
     目录           0  2016-02-19 10:29  SimulatedMicroChannelGrabRed\obj\x86\Debug\
     文件         686  2016-02-17 15:28  SimulatedMicroChannelGrabRed\obj\x86\Debug\ConsoleApplication1.csproj.FileListAbsolute.txt
     文件       19113  2016-02-17 15:22  SimulatedMicroChannelGrabRed\obj\x86\Debug\ConsoleApplication1.csprojResolveAssemblyReference.cache
     文件        7168  2016-02-17 15:26  SimulatedMicroChannelGrabRed\obj\x86\Debug\ConsoleApplication1.exe
     文件       19968  2016-02-17 15:26  SimulatedMicroChannelGrabRed\obj\x86\Debug\ConsoleApplication1.pdb
     文件        5127  2016-02-19 10:29  SimulatedMicroChannelGrabRed\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         952  2016-02-19 10:30  SimulatedMicroChannelGrabRed\obj\x86\Debug\RedPacket.csproj.FileListAbsolute.txt
     文件       13316  2016-02-19 10:29  SimulatedMicroChannelGrabRed\obj\x86\Debug\RedPacket.csprojResolveAssemblyReference.cache
     文件        7168  2016-02-19 10:29  SimulatedMicroChannelGrabRed\obj\x86\Debug\RedPacket.exe
     文件       17920  2016-02-19 10:29  SimulatedMicroChannelGrabRed\obj\x86\Debug\RedPacket.pdb
     目录           0  2016-02-19 10:57  SimulatedMicroChannelGrabRed\obj\x86\Debug\TempPE\
     文件        2813  2016-02-23 10:03  SimulatedMicroChannelGrabRed\Program.cs
     目录           0  2016-02-19 10:27  SimulatedMicroChannelGrabRed\Properties\
............此处省略6个文件信息

评论

共有 条评论