Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Huntsman #1
Member since Apr 2016 · 42 posts
Group memberships: Members
Show profile · Link to this post
Subject: Xml to Presence
Hello alex sir,

i have a xml. can you please tell me how can i make a presence in .NET using agsxmpp.dll

xml is

  1. <presence to="" xml:lang="Do not well in the past, do not dream of the future, concentrate the mind on the present moment.">
  2. <c xmlns="" node="" ver="1.0" ext="nimbuzz-wap" hash="sha-1" />
  3. <show>away</show>
  4. <nick xmlns="">trim</nick>
  5. <status>.</status>
  6. <priority>75</priority>
  7. <x xmlns="j2j:history">
  8. <jid gateway="">izthunjm81o9slvw0y2ax57f3bcqk6gp</jid>
  9. </x>
  10. </presence>

i want to make a presence in .net using this xml..

thank you.
This post was edited on 2016-10-03, 11:55 by Alex.
Alex #2
Member since Feb 2003 · 4337 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you use the presence class in agsXMPP.
This presence includes the Nickname and Caps extensions, both should be available in agsXMPP.

I have not seen this before:
  1. <jid gateway="">izthunjm81o9slvw0y2ax57f3bcqk6gp</jid>

but you can easily add this Xml on your own.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS