Ejemplo n.º 1
0
        public WeCardExt(DateTime timestamp, CardType cardType)
        {
            string apiTicket = WeCardInfo.ApiTicketGet(cardType);

            Timestamp = timestamp;
            Signature = "sha1";
        }
Ejemplo n.º 2
0
        public WeChooseCard(string appId, DateTime timeStamp, CardType cardType)
        {
            string apiTicket = WeCardInfo.ApiTicketGet(cardType);

            AppId     = appId;
            NonceStr  = "";
            SignType  = "SHA1";
            CardSign  = "";
            TimeStamp = timeStamp;
        }