2009年1月22日
摘要: /////////////////////////////////////////////////////////////////////////////// // SAMPLE: Generates random password, which complies with the strong password // rules and does not contain ambi... 阅读全文
posted @ 2009-01-22 14:18 草原和大树 阅读(640) 评论(0) 推荐(0) 编辑
摘要: public string ran2() { string s = "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z"; string[] sz = s.Split(','); System.Collections.... 阅读全文
posted @ 2009-01-22 14:16 草原和大树 阅读(308) 评论(0) 推荐(0) 编辑
摘要: private static int RollDiceFunc(int sendnumber) { byte[] randnumbers = new byte[1]; RNGCryptoServiceProvider Gen = new RNGCryptoServiceProvider(); Gen.G... 阅读全文
posted @ 2009-01-22 10:11 草原和大树 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 拆分字符串(格式:MerId=001&OrderNo=20031106100001&OrderAmount=59.32& CurrCode=CNY&CallBackUrl=http://www.001.com/GNETPG/OvRcv.asp& ResultMode=0& Reserved01=&Reserved02=) private string GetValue(string TobeG... 阅读全文
posted @ 2009-01-22 09:26 草原和大树 阅读(1040) 评论(0) 推荐(0) 编辑