Comment récupérer l'avatar / photo de quelqu'un avec AGSXMPP
Question
C'est ce que j'ai jusqu'à présent:
void xmppConnection_OnReadXml(object sender, string xml)
{
if (xml.Contains(XmlTags.PhotoOpen))
{
int startIndex = xml.IndexOf(XmlTags.PhotoOpen) + XmlTags.PhotoOpen.Length;
int length = xml.IndexOf(XmlTags.PhotoClose) - startIndex;
string photoHash = xml.Substring(startIndex, length);
}
}
Je suppose que je ne peux pas annuler le hachage, mais je veux obtenir l'avatar / photo d'une personne. Comment y parvenir?
Pas de solution correcte
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow