Author Message
Pravin
Joined: Jan 2, 2018
Messages: 56
Offline
Many thanks Martin. I don't have next level membership. Is there any possibility to open a single development support ticket and if yes what will be the process and charges.

Regards,
Pravin
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Please open a ticket and we will give what help we can. If you cannot open a Tech Support ticket, then open a General ticket.

Make sure to include:

1. A FULL description of your problem
2. Relevant client-side traces
3. DMCC traces from AE Services as described in the DMCC FAQ "How can I monitor the XML being sent and received by the AE Services Server (debug, log, trace)?"

Martin
Pravin
Joined: Jan 2, 2018
Messages: 56
Offline
Thanks Martin. I have raised ticket.

One small information required. We tried to set NULL userstate in Startapplication session method but it is not working?

Where can we set protocol version?

Regards,
Pravin
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
The function call to open a secure connection is described in the SDK as:

int StartApplicationSession(
string serverIp,
int serverPort,
string applicationName,
string userName,
string userPassword,
int sessionCleanupDelay,
int sessionDuration,
string protocolVersion,
bool secure,
Object userState,
bool startAutoKeepAlive,
bool allowCertificateHostnameMismatch,
LocalCertificateSelectionCallback userCertificateSelectionCallback

The Popup sample application uses the function like this:

serviceProvider.StartApplicationSession(
DMCCIPAddress,
Int32.Parse(DMCCPort),
"Popup App",
DMCCLoginID,
DMCCPassword,
50,
300,
"http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv4",
DMCCSecureSocket,
null,
true,
true,
new LocalCertificateSelectionCallback(certificateCallback));
Go to:   
Mobile view