Hi Rajkumar,
There are 2 types of secure connections: "Implicit" and "Explicit".
In "Implicit connections", you pass the AuthenticationMethod as a paramater to Connet() method, and you dont need to call the Authenticate() method after, simply the Login() method.
Code Sample:
client.Connect( servername, AuthenticationMethod.Ssl, VerificationFlags.None, null );
client.Login( username, password );
In "Explicit connections", you must call the Connect() method without SSL parameters, and then call the Authenticate() method later on before calling the Login() method.
Code Sample:
client.Connect( servername );
client.Authenticate(AuthenticationMethod.Ssl, VerificationFlags.None, null, DataChannelProtection.Private );
client.Login( username, password );
Regards,
Alain Jreij,
Xceed Technical Support
Regards,
Alain Jreij,
Web Developer,
Xceed Software Inc