Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
robinwa #1
Member since Apr 2018 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to ban ip in chatroom using c#
Hi alex sir i want to know how ban ip in chatroom using c#
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
look at the MucManager class, there is a BanUser method
Avatar
robinwa #3
Member since Apr 2018 · 13 posts
Group memberships: Members
Show profile · Link to this post
Can u explain little more or show me the example i am newbie n want to learn ?
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
when you are new to XMPP and Multi USer Chat then please read the specification here:
https://xmpp.org/extensions/xep-0045.html

It describes it in detail with many examples.

When you are in a chatroom, and you have permissions (admin) to ban users, then you can just execute the function on tzhe MucManager class which I mentioned.
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