Description
-
Registers with the service.
Return Type
-
None
Syntax
-
object.Register
The Register Method syntax has these parts:
| object |
An expression evaluating to an object
of type XMPPService. |
Remarks
-
This method will register current your account with the
service. It is required to do so (usually once) in order to
use service's features. Typical example would be to
register your account with ICQ (or MSN, AIM, Yahoo etc..)
network. You need to supply ICQ account so that Jabber
server can login as you to that service, and then redirect
all messages to you transparently. So, you would provide
your real ICQ account credentials to Register method.
For example (VB code)
-
wodXMPP1.Services.Add(gateway).Login =
Text1.Text
wodXMPP1.Services.Add(gateway).Password =
Text2.Text
wodXMPP1.Services.Add(gateway).Register
In the above sample, gateway value should be the name of
the service.
|