Questions tagged [agsxmpp]

An SDK for the Jabber / XMPP protocol written in C#.

agsXMPP is an SDK / library for the eXtensibleMessaging and Presence Protocol (XMPP) protocol written in C#. The SDK is released as open source under a dual license.

The SDK could be used for XMPP client, server and component development.

Here is a small sample how easy you can login to an XMPP server and send a simple chat-message to another user:

XmppClientConnection xmpp = new XmppClientConnection("jabber.org");
xmpp.Open("myusername", "mysecret");
xmpp.OnLogin += delegate(object o) {
    xmpp.Send(new Message("test@jabber.org", MessageType.chat, "Hello, how are you?")); 
};

Features:

  • cross platform, designed for:
    • Microsoft .NET Framework
    • Microsoft .NET Compact Framework (Pocket PC, Smartphone, Windows CE)
    • Mono
    • Portable .NET
    • compatible with .NET 1.1 and .NET 2.0
  • Multi OS (Windows, Linux, Mac…)
  • for client, server and web applications
  • fast and lightweight
  • uses its own simple and fast XML-Parser
  • open source
69 questions
1
vote
0 answers

Not able to add user to ejabbered using c# and agsXMPP

I am developing a chat application in iOS and the APIs are on Windows server. Have got ejabbered installed on the server and am able to connect successfully from C# using agsXMPP. The issue is that I am not able to register user every time, it…
1
vote
0 answers

How to get OnPresence and OnRosterList to not be non-responsive

Currently, I am able to be connected to the server, and I was able to set my "status" and my presence. However, I am unable to get my "friends/buddies/contacts" to come up. xmpp = new XmppClientConnection(); xmpp.ConnectServer = …
Kaneki
  • 11
  • 3
1
vote
0 answers

get bookmarks in agsXMPP

i created a xmpp client connections. i wanna load my xmpp jid bookmarks. this is server reply to my Get bookmarks request :
1
vote
0 answers

GCM CCS Receive delivery receipt

I'm trying to write a 3rd party server .NET application for sending notifications to Android devices using GCM's CCS as outlined here. And I want to use Receive delivery receipts feature. I created a simple console app using agsXMPP library. My…
Natalya
  • 278
  • 3
  • 11
1
vote
1 answer

Logging on to XMPP using agsxmpp

I have one problem when I tried to connect to server. i´m using the library agsXMPP and the next code. When I tried to connect to the server I can´t. I can´t do log with the server. I tried to send a message for some users too. …
1
vote
1 answer

Synchronizing message sending and receiving AGSXMPP

I am developing a communication layer between client and server using XMPP in c#. The requirement is to send message from client and halt execution until a reply is received from server. Is there any way of doing that using agsXMPP? Another thing is…
Syed Rizwan Ali
  • 233
  • 2
  • 19
1
vote
1 answer

How to Logout JID using agsXMPP library

I am making a jabber application in c# using agsXMPP library. i want to know how can i can log out the JID globally from all devices. to Log out from same application the code i used works well and is as follows private void button2_Click(object…
swagger
  • 37
  • 1
  • 9
1
vote
1 answer

how to connect facebook through xmpp dll in vb.net?

I tried the code below to connect to Facebook through Agsxmpp.Dll, but when I connect to it, it shows login failed on OnAuthError Event. How do I solve this? ObjAgx = New XmppClientConnection ObjAgx.Server = "chat.facebook.com" ObjAgx.Username =…
1
vote
1 answer

How can i use agsxmpp for gtalk configure in c#?

I have some code for XMPP messaging in C#. I am not able to send a message to another user. using agsXMPP; using agsXMPP.protocol.client; using agsXMPP.Collections; using agsXMPP.protocol.iq.roster; using System.Threading; using…
Kina
  • 11
  • 2
1
vote
1 answer

AGSXMPP disconnects with Google Cloud Connection (GCM)

Connecting via XMPP to Google Cloud Connection Server (http://developer.android.com/google/gcm/ccs.html) for the purpose of sending/receiving notifications to Android devices. Using AGSXMPP (latest version at time of writing) in a .NET4.5 Console…
simbolo
  • 7,279
  • 6
  • 56
  • 96
1
vote
1 answer

How do I use Presence Probes with agsxmpp and C#

How can I retrieve a contact's current presence information using XMPP Presence Probes? Thanks in advance.
Libin TK
  • 1,477
  • 2
  • 25
  • 46
1
vote
0 answers

Check for Online status of Roster Item using AGSXMPP

I am using AGSXMPP Library with C#. Everything works fine except OnPresence event is not firing when a GTalk user is disconnected from the Internet and the user's status remains as Online. Is there is a way to check for status of the RosterItems…
Libin TK
  • 1,477
  • 2
  • 25
  • 46
1
vote
1 answer

Error while using agsXMPP in Windows 8 Metro App

I'm using the 'agsXMPP' in windows 8 Metro app, private void loginclick_Click_1(object sender, RoutedEventArgs e) { if (!string.IsNullOrEmpty(id.Text) && !string.IsNullOrEmpty(id.Text)) client.Login(id.Text,…
Gopinath Perumal
  • 2,258
  • 3
  • 28
  • 41
1
vote
1 answer

agsxmpp create user account programmatically

I am using agsXMPP library and Openfire server. Works nice. But I can`t find, how can I create new user account (add new user to openfire database) from agsXMPP?
Augis
  • 1,903
  • 1
  • 16
  • 21
0
votes
1 answer

Use asgXmpp to connect to my openfire server failure

I create a C# website to test whether the connection is working.here is my code,please help: protected void Unnamed1_Click(object sender, EventArgs e) { XmppClientConnection xmpp; xmpp = (XmppClientConnection)Application["xmpp"]; if…