internal static string CreateSign(object obj) { string queryString = obj.WriteQueryString(QueryStringOutput.WeixinOutput); queryString += Key; return(WeUtil.Md5(queryString)); }
public WeixinResult ModifyPasswd(string password) { TkDebug.AssertArgumentNullOrEmpty(password, "password", null); InternalAccount account = new InternalAccount(this, WeUtil.Md5(password)); return(account.Update()); }
public static WeixinResult Add(string account, string nickName, string password) { TkDebug.AssertArgumentNullOrEmpty(account, "account", null); TkDebug.AssertArgumentNullOrEmpty(nickName, "nickName", null); InternalAccount saccount = new InternalAccount { Account = account, NickName = nickName, Password = (password == null ? null : WeUtil.Md5(password)) }; return(saccount.Add()); }
public InternalAccount(string account, string password) { Account = account; Password = password == null ? null : WeUtil.Md5(password); }