20080905 c# md5 http
http://www.shengfang.org
用C#实现HTTP协议下的多线程文件传输 - D调的华丽 - 博客园
http://www.cnblogs.com/elzero/archive/2007/07/14/817952.html
利用IPC通道进行进程间通信(C#) - lanwilliam的专栏 - CSDNBlog
http://blog.csdn.net/lanwilliam/archive/2008/05/13/2440188.aspx
CodeProject: An FTP client library for .NET 2.0. Free source code and programming help
http://www.codeproject.com/KB/IP/FtpClient.aspx?msg=1589329#xx1589329xx
CodeGuru: .NET Remoting Using a New IPC Channel
http://www.codeguru.com/csharp/csharp/cs_syntax/remoting/article.php/c9251/
Using Remoting IpcChannel in Framework 2.0 - Ohad's Blog
http://weblogs.asp.net/israelio/archive/2005/01/04/346180.aspx
The Moth: IPC with Remoting in .NET 2.0
http://www.danielmoth.com/Blog/2004/09/ipc-with-remoting-in-net-20.html
DotNet Remoting : TCP Eventing [Utkarsh Shah]
http://blogs.msdn.com/dotnetremoting/archive/2006/04/07/571020.aspx
Build a C# Named-Pipes Based Inter-Process,Inter-Machine Object Caching Service
http://www.eggheadcafe.com/articles/20060404.asp
一个用C#编写的自动读写配置文件的开源组件 - 开源空间 - 共享社区共享空间 - Powered by Discuz!NT
http://www.mikecat.net/space/viewspacepost.aspx?postid=119
C#中使用MD5非常简单 - zhangdaoli888的专栏 - CSDNBlog
http://blog.csdn.net/zhangdaoli888/archive/2008/06/03/2508822.aspx
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(temp_str, "MD5");
C# MD5加密与解密_Ken.NET
http://hi.baidu.com/%C4%BE%CD%B7%C8%CB/blog/item/5933b3decb6b0358cdbf1a40.html
C#中用MD5实现数据加密 - 软件测试技术第一门户 --TestAge中国软件测试时代
http://www.testage.net/html/63/n-154863.html
C# MD5加密 - 泽来-王者之剑 - 博客园
http://www.cnblogs.com/sunsjorlin/archive/2007/08/22/279531.html
using System;
using System.Security.Cryptography;
using System.Text;
class Example
{
// Hash an input string and return the hash as
// a 32 character hexadecimal string.
static string getMd5Hash(string input)
{
// Create a new instance of the MD5CryptoServiceProvider object.
MD5 md5Hasher = MD5.Create();
// Convert the input string to a byte array and compute the hash.
byte[] data = md5Hasher.ComputeHash(Encoding.Default.GetBytes(input));
// Create a new Stringbuilder to collect the bytes
// and create a string.
StringBuilder sBuilder = new StringBuilder();
// Loop through each byte of the hashed data
// and format each one as a hexadecimal string.
for (int i = 0; i < data.Length; i++)
{
sBuilder.Append(data[i].ToString("x2"));
}
// Return the hexadecimal string.
return sBuilder.ToString();
}
// Verify a hash against a string.
static bool verifyMd5Hash(string input, string hash)
{
// Hash the input.
string hashOfInput = getMd5Hash(input);
// Create a StringComparer an comare the hashes.
StringComparer comparer = StringComparer.OrdinalIgnoreCase;
if (0 == comparer.Compare(hashOfInput, hash))
{
return true;
}
else
{
return false;
}
}