登录
首页 » C# » CSDN small

CSDN small

于 2013-10-25 发布
0 214
下载积分: 1 下载次数: 0

代码说明:

CSDN small

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • LumiSoft.Net 各种网络协议类库源码下载(udp tcp pop smtp http等等)
    LumiSoft.Net 各种网络协议类库源码下载(udp tcp pop smtp http等等)
    2015-01-16下载
    积分:1
  • C# Socket 客户端服务器通信demo(附源码)
    C# Socket 客户端服务器通信demo(附源码)
    2013-12-14下载
    积分:1
  • c#FORM服务器客户端UDP通讯实例
    服务器客户端UDP广播通话 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net.Sockets;using System.Net;namespace NetServer{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { this.Close(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { //使用UDP协议发送数据 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); //设置端口号 IPEndPoint ieps = new IPEndPoint(IPAddress.Broadcast, 8900); socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); //将发送数据转换为字节数组 byte[] bytess = System.Text.Encoding.Unicode.GetBytes(textBox1.Text); socket.SendTo(bytess, ieps); socket.Close(); } }}
    2020-05-31下载
    积分:1
  • 根据文件列表,合并文本文件,保持原文件的字符集
    根据文件列表,合并文本文件,保持原文件的字符集
    2015-01-20下载
    积分:1
  • .NET 后台管理系统(源码+数据库)
    【实例简介】 .NET 通用后台角色权限管理系统 软件架构 通用三层架构,面向接口编程。 技术选型 MVC5 Mysql Dapper Autofac Layui 阿里巴巴矢量库
    2021-07-04 00:31:14下载
    积分:1
  • C# 将数字 转换成人民币大写的形式
    C# 将数字 转换成人民币大写的形式
    2013-12-03下载
    积分:1
  • C# 实现 MD5加密解密算法
    using System.Security.Cryptography;using    System.IO;  using    System.Text; ///MD5加密  public string MD5Encrypt(string    pToEncrypt,  string    sKey)    {       DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =    Encoding.Default.GetBytes(pToEncrypt);       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateEncryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();     foreach(byte    b  in    ms.ToArray())       {        ret.AppendFormat("{0:X2}",    b);       }       ret.ToString();     return    ret.ToString();      }  ///MD5解密  public string MD5Decrypt(string    pToDecrypt,  string    sKey)    {      DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =  new  byte[pToDecrypt.Length  /  2];     for(int    x  =  0;    x  <    pToDecrypt.Length  /  2;    x )       {      int    i  =    (Convert.ToInt32(pToDecrypt.Substring(x  *  2,  2),  16));        inputByteArray[x]  =    (byte)i;       }       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateDecryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();                  return    System.Text.Encoding.Default.GetString(ms.ToArray());      }
    2013-11-13下载
    积分:1
  • 运动控制六轴运动
    运动控制六轴运动
    2019-05-16下载
    积分:1
  • easyui 工作流设计器设计 例子源码
    easyui 工作流设计器设计 例子源码
    2014-11-04下载
    积分:1
  • NPOI操作EXCEL报表(常用类库)
    NPOI操作EXCEL报表
    2019-02-26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载