· using System;
using System.Security;
using System.Security.Cryptography;
using System.IO;
using System.Text;namespace MySecurity
{
public class MySecurity{public MySecurity(){//// TODO: 在此处添加构造函数逻辑//}private string key="1234567890"; //默认密钥private byte...
· 如何判断字符串是否为空串?Writen by Allen Lee0. 缘起:本文写作缘起于阮的讨论——《FxCop告诉我,检查一个字符串是否为空要用string.Length。》。其实用过FxCop的人都知道它会建议你使用String.Length属性来判断字符串是否为空串,但你又是否明白其中的缘由呢?今天有点闲,特意写下这篇文章,...
· Const vbFormControlMenu=0 'User has chosen Close command from Control menu box on form
Const vbFormCode=1 'Unload method invoked from code
Const vbAppWindows=2 'Current Windows session ending
Const vbAppTaskManager=3 'Windows Task Manger is closing the app...
· Option Explicit
Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal y As Long) As Long
Private Const CF_BITMAP = 2
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCal...
· http://download.microsoft.com/download/exchplatinumbeta/Install/1.0/NT5/EN-US/ExchangeWFD.exe
Microsoft® Exchange 2000 Server provides a wide variety of application development facilities, including programmable workflow. Workflow processes are used to enforce busines...
· from:http://www.csharphelp.com/archives2/archive317.HTML
Getting Started With C# On Linux
By Rob Blackwell(rob.blackwell@aws.net)
When Microsoft launched its .NET strategy, one of the objectives was to allow software to be written for a variety of different platforms. It sub...