Subject: Account Registration
Hi.
Based on the sample MiniClient, I've been looking at account registration and have two questions.
Firstly, to detect registration failures I have added the XmppCon_OnRegisterError event. Within this event handler I've been trying to detect the error code from the element passed, but I've been totally failed to cast the element into anything that allows me to view the error fields.
I'd be greatful if you could explain to handle the Element passed to the even handler to extract the error.
Secondly, I've been trying to process the display the registration form returned by the server prior to requesting the login. Although I can catch this using the OnRegisterInformation event the SDK is automatically requesting the login before I can display the information to the user. Please can you suggest why this is.
Many thanks
Dave
Based on the sample MiniClient, I've been looking at account registration and have two questions.
Firstly, to detect registration failures I have added the XmppCon_OnRegisterError event. Within this event handler I've been trying to detect the error code from the element passed, but I've been totally failed to cast the element into anything that allows me to view the error fields.
I'd be greatful if you could explain to handle the Element passed to the even handler to extract the error.
Secondly, I've been trying to process the display the registration form returned by the server prior to requesting the login. Although I can catch this using the OnRegisterInformation event the SDK is automatically requesting the login before I can display the information to the user. Please can you suggest why this is.
Many thanks
Dave