示例#1
0
        /// <summary>
        /// Set the last known hash for this JID, this will be saved and recalled in the event that person is not online
        /// </summary>
        /// <param name="strJID"></param>
        /// <param name="strHash"></param>
        public void SetJIDHash(string strJID, string strHash)
        {
            if (DicJidHash.ContainsKey(strJID) == false)
            {
                DicJidHash.Add(strJID, new JIDtoHash(strJID, strHash));
            }
            else
            {
                DicJidHash[strJID] = new JIDtoHash(strJID, strHash);
            }

            SaveJIDHashes();
        }
示例#2
0
        /// <summary>
        /// Set the last known hash for this JID, this will be saved and recalled in the event that person is not online
        /// </summary>
        /// <param name="strJID"></param>
        /// <param name="strHash"></param>
        public void SetJIDHash(string strJID, string strHash)
        {
            if (DicJidHash.ContainsKey(strJID) == false)
            {
                DicJidHash.Add(strJID, new JIDtoHash(strJID, strHash));
            }
            else
            {
                DicJidHash[strJID] = new JIDtoHash(strJID, strHash);
            }

            SaveJIDHashes();
        }