• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  sms  短信  

资源简介


资源截图

代码片段和文件信息




using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;
using System.Threading;

namespace sms
{
    public class ComPortClass
    {
        public SerialPort sp = new SerialPort ( );

        private const string CSCACode = “00“;  //无指定短信中心号码,按照CSCA号码 
        private const string FO = “11“;//FO取值 
        private const string TPMR = “00“; //TP-MR取值 
        private const string MBLenth = “0D“;//手机号码长度为13位 
        private const string TAddress = “91“;//目标号码地址类型,国际 
        private const string QH = “68“;//中国的国际区号 
        private const string PID = “00“; //IP协议号 
        private const string CodeMode = “08“;//编码模式 08为Unicode,00为Bit7编码,15为Bit8编码 
        private const string Msg_Time = “01“;//短信保留有效期 

        public ComPortCla

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      24576  2009-08-21 16:04  Ex13_01\sms\bin\Debug\sms.exe

     文件      38400  2009-08-21 16:03  Ex13_01\sms\bin\Debug\sms.pdb

     文件       5632  2005-12-08 14:51  Ex13_01\sms\bin\Debug\sms.vshost.exe

     文件      16314  2009-06-25 11:20  Ex13_01\sms\ComPortClass.cs

     文件       1360  2009-08-21 16:03  Ex13_01\sms\Form1.cs

     文件       2885  2009-08-21 16:03  Ex13_01\sms\Form1.Designer.cs

     文件       5814  2009-08-21 16:03  Ex13_01\sms\Form1.resx

     文件        842  2009-08-21 16:03  Ex13_01\sms\obj\Debug\sms.csproj.GenerateResource.Cache

     文件      24576  2009-08-21 16:04  Ex13_01\sms\obj\Debug\sms.exe

     文件        180  2009-08-21 16:03  Ex13_01\sms\obj\Debug\sms.Form1.resources

     文件      38400  2009-08-21 16:03  Ex13_01\sms\obj\Debug\sms.pdb

     文件        180  2009-08-21 15:48  Ex13_01\sms\obj\Debug\sms.Properties.Resources.resources

     文件        440  2009-08-21 16:04  Ex13_01\sms\obj\sms.csproj.FileListAbsolute.txt

     文件        474  2009-06-25 09:05  Ex13_01\sms\Program.cs

     文件       1196  2009-06-25 09:05  Ex13_01\sms\Properties\AssemblyInfo.cs

     文件       2893  2009-06-25 09:05  Ex13_01\sms\Properties\Resources.Designer.cs

     文件       5612  2009-06-25 09:05  Ex13_01\sms\Properties\Resources.resx

     文件       1106  2009-06-25 09:05  Ex13_01\sms\Properties\Settings.Designer.cs

     文件        249  2009-06-25 09:05  Ex13_01\sms\Properties\Settings.settings

     文件       3256  2009-06-25 10:40  Ex13_01\sms\sms.csproj

     文件        898  2009-08-21 15:49  Ex13_01\sms.sln

    ..A..H.     34816  2009-08-21 16:04  Ex13_01\sms.suo

     目录          0  2009-06-25 09:05  Ex13_01\sms\obj\Debug\TempPE

     目录          0  2009-08-21 15:48  Ex13_01\sms\bin\Debug

     目录          0  2009-08-21 16:04  Ex13_01\sms\obj\Debug

     目录          0  2009-06-25 09:05  Ex13_01\sms\bin

     目录          0  2009-08-21 15:48  Ex13_01\sms\obj

     目录          0  2009-06-25 09:05  Ex13_01\sms\Properties

     目录          0  2009-08-21 16:03  Ex13_01\sms

     目录          0  2009-08-21 15:49  Ex13_01

............此处省略3个文件信息

评论

共有 条评论