Initiates in-band registration with the XMPP server in order to register a new XMPP account.

Namespace: S22.Xmpp.Client
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Register(
	RegistrationCallback callback
)

Parameters

callback
Type: S22.Xmpp.Extensions..::..RegistrationCallback
A callback method invoked to let the user enter any information required by the server in order to complete the registration.

Remarks

See the "Howto: Register an account" guide for a walkthrough on how to register an XMPP account through the in-band registration process.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe callback parameter is null.
System..::..NotSupportedExceptionThe XMPP server with does not support the 'In-Band Registration' XMPP extension.
S22.Xmpp..::..XmppErrorExceptionThe server returned an XMPP error code. Use the Error property of the XmppErrorException to obtain the specific error condition.
S22.Xmpp..::..XmppExceptionThe server returned invalid data or another unspecified XMPP error occurred.

See Also