-
C# 仪表盘 例子源码
C# 仪表盘 例子源码
- 2014-11-04下载
- 积分:1
-
窗体淡出的功能实现
窗体淡出的功能实现
- 2015-01-05下载
- 积分: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
-
C# 企业人事工资管理系统源码(含数据库以及脚本)
企业人事工资管理系统其中包括考勤、工资管理(工资调整及汇总、奖惩管理)和员工管理(基本信息、社会关系、教育经历和部门设置等)可以进行数据备份操作多个界面可供用户切换选择只需要附加数据库即可运行此实例,无须修改数据库连接串,也无须修改配置
- 2018-11-07下载
- 积分:1
-
C#中调用VC++的DLL
[DllImport("diaCallBackDll.dll")] public static extern void show(); [DllImport("diaCallBackDll.dll", CallingConvention = CallingConvention.StdCall)] public static extern int add_CallBack_test(int a, int b, cb_func f); public static void cb_funcc(int re) { Console.WriteLine("result=[{0}]", re); return; } static void Main(string[] args) { //show(); int i = add_CallBack_test(7, 2, cb_funcc); Console.Read(); }
- 2015-01-05下载
- 积分:1
-
eg8010底板电路图
【实例简介】EG8010 DCAC 底板
- 2021-06-25 00:31:07下载
- 积分:1
-
.NET Reflector 5.0 使用例子(反编译软件)
.NET Reflector 5.0 Release Notes 28 December 2006 Reflector is a class browser for .NET components. It allows browsing and searching the meta data, IL instructions, resources and XML documentation stored in a .NET assembly. Reflector was first released in October 2000 running on .NET Framework 1.0 Beta. LINQ and .NET Framework 3.5: Reflector supports query expressions and other concepts introduced in C# 3.5. To enable this feature select ".NET 3.5" under View, Options, Disassembler, Optimization. .NET Framework compatibility: Reflector runs on all versions of the .NET Framework using its own assembly loading infrastructure which does not rely on the Reflection API. For example, Reflector can load .NET Framework 2.0 assemblies without having the .NET Framework 2.0 installed. Assembly Lists: When launched for the first time, Reflector allows you to choose a default set of assemblies. The list of assemblies is then stored in the Reflector.cfg file and will be loaded next time you open the program. Reflector allows creating multiple assembly lists and switching between the lists using the File, Open List dialog. To choose a different set of default assemblies for the current assembly list you should remove all assemblies from the list (DEL) and invoke the Refresh command (F5). Assembly Cache: When resolving an assembly reference, Reflector will first search the local path next to the assembly holding the reference and then falls back to the cache directories defined in the Reflector.cfg file. Reflector does not search the Global Assembly Cache (GAC) unless you add "%SystemRoot%Assembly" to the cache directories list. Assembly Versioning: By default, assembly version numbers are ignored when resolving type and member references. You can enable side-by-side versioning in the options dialog but it is suggested to avoid this if possible. Add-Ins: Information about the Reflector add-in model can be found here. The most recent version of .NET Reflector is available here. Disclaimer: This software is provided "AS IS" with no warranties of any kind. The entire risk arising out of the use or performance of the software is with you.
- 2015-06-15下载
- 积分:1
-
C++ 利用套接字实现FTP文件下载(提高篇-实例553).zip
C++ 利用套接字实现FTP文件下载(提高篇-实例553).zip
- 2019-10-02下载
- 积分:1
-
Plupload Flash ASP.NET 多文件上传实例源码
Plupload Flash ASP.NET 多文件上传实例源码
- 2014-06-11下载
- 积分:1
-
C# 提供者模式(Provider Pattern)实例源码下载
C# 提供者模式(Provider Pattern)实例源码下载
- 2014-07-28下载
- 积分:1