The XmppIm type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | XmppIm(String, Int32, Boolean, RemoteCertificateValidationCallback) |
Initializes a new instance of the XmppIm.
|
![]() | XmppIm(String, String, String, Int32, Boolean, RemoteCertificateValidationCallback) |
Initializes a new instance of the XmppIm.
|
Methods
Name | Description | |
---|---|---|
![]() | AddToRoster |
Adds the specified item to the user's roster.
|
![]() | ApproveSubscriptionRequest |
Approves a subscription request received from the contact with
the specified JID.
|
![]() | Autenticate |
Authenticates with the XMPP server using the specified username and
password.
|
![]() | Close |
Closes the connection with the XMPP server. This automatically disposes
of the object.
|
![]() | Connect |
Establishes a connection to the XMPP server.
|
![]() | Dispose()()()() |
Releases all resources used by the current instance of the XmppIm class.
|
![]() | Dispose(Boolean) |
Releases all resources used by the current instance of the XmppIm
class, optionally disposing of managed resource.
|
![]() | EditPrivacyList |
Creates or updates the privacy list with the name of the specified list
on the user's server.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetActivePrivacyList |
Returns the name of the currently active privacy list.
|
![]() | GetDefaultPrivacyList |
Returns the name of the default privacy list.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPrivacyList |
Retrieves the privacy list with the specified name from the server.
|
![]() | GetPrivacyLists |
Returns an enumerable collection of privacy lists stored on the user's
server.
|
![]() | GetRoster |
Retrieves the user's roster.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RefuseSubscriptionRequest |
Refuses a subscription request received from the contact with
the specified JID.
|
![]() | RemoveFromRoster(Jid) |
Removes the item with the specified JID from the user's roster.
|
![]() | RemoveFromRoster(RosterItem) |
Removes the specified item from the user's roster.
|
![]() | RemovePrivacyList |
Removes the privacy list with the specified name.
|
![]() | RequestSubscription |
Sends a request to subscribe to the presence of the contact with the
specified JID.
|
![]() | RevokeSubscription |
Revokes the previously-approved subscription of the contact with
the specified JID.
|
![]() | SendMessage(Message) |
Sends the specified chat message.
|
![]() | SendMessage(Jid, IDictionary<(Of <<'(String, String>)>>), IDictionary<(Of <<'(String, String>)>>), String, MessageType, CultureInfo) |
Sends a chat message with the specified content to the specified JID.
|
![]() | SendMessage(Jid, String, String, String, MessageType, CultureInfo) |
Sends a chat message with the specified content to the specified JID.
|
![]() | SetActivePrivacyList |
Activates the privacy list with the specified name.
|
![]() | SetDefaultPrivacyList |
Makes the privacy list with the specified name the default privacy list.
|
![]() | SetStatus(Status) |
Sets the availability status.
|
![]() | SetStatus(Availability, Dictionary<(Of <<'(String, String>)>>), SByte) |
Sets the availability status.
|
![]() | SetStatus(Availability, String, SByte, CultureInfo) |
Sets the availability status.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Unsubscribe |
Unsubscribes from the presence of the contact with the specified JID.
|
Properties
Name | Description | |
---|---|---|
![]() | Authenticated |
Determines whether the instance has been authenticated.
|
![]() | Connected |
Determines whether the instance is connected to the XMPP server.
|
![]() | Hostname |
The hostname of the XMPP server to connect to.
|
![]() | IsEncrypted |
Determines whether the session with the server is TLS/SSL encrypted.
|
![]() | Jid |
The address of the Xmpp entity.
|
![]() | Password |
The password with which to authenticate.
|
![]() | Port |
The port number of the XMPP service of the server.
|
![]() | SubscriptionRequest |
A callback method to invoke when a request for a subscription is received
from another XMPP user.
|
![]() | Tls |
If true the session will be TLS/SSL-encrypted if the server supports it.
|
![]() | Username |
The username with which to authenticate. In XMPP jargon this is known
as the 'node' part of the JID.
|
![]() | Validate |
A delegate used for verifying the remote Secure Sockets Layer (SSL)
certificate which is used for authentication.
|
Events
Name | Description | |
---|---|---|
![]() | Error |
The event that is raised when an unrecoverable error condition occurs.
|
![]() | Message |
The event that is raised when a chat message is received.
|
![]() | RosterUpdated |
The event that is raised when the roster of the user has been updated,
i.e. a contact has been added, removed or updated.
|
![]() | Status |
The event that is raised when a status notification from a contact has been
received.
|
![]() | SubscriptionApproved |
The event that is raised when a subscription request made by the JID
associated with this instance has been approved.
|
![]() | SubscriptionRefused |
The event that is raised when a subscription request made by the JID
associated with this instance has been refused.
|
![]() | Unsubscribed |
The event that is raised when a user or resource has unsubscribed from
receiving presence notifications of the JID associated with this instance.
|