March 2018
Beginner to intermediate
410 pages
10h 40m
English
Once we have our credentials, or if we've chosen to automatically create new credentials, we are ready to connect to the server. We first need to create a variable to hold our XMPP client:
private XmppClient xmppClient = null;
We then create the client using the connection details we've procured. We also provide the default language code that we will use, as well as a reference to the assembly that represents the current application. This assembly will be used to extract some basic information about the application, such as the application name and version. This information can be requested by other participants in the network:
this.xmppClient = new XmppClient(Host, Port, UserName, PasswordHash, PasswordHashMethod, ...
Read now
Unlock full access