This project is read-only.

Connection failed

Mar 20, 2014 at 12:51 AM
When I dial connection with DialAsync with right login and password and watch it with event i recieve last message "connected", but when i change password or login a do not recieve any warning, error, exception or message to find out that something goes wrong. How can i know that connection failed?
Mar 20, 2014 at 5:00 PM
Unfortunately that's just a limitation of the RasDial API provided by Microsoft. If the password expires there is no way to change it from the existing API. As for whether it encountered an error while connecting that should be getting raised with the DialCompleted event on the DialCompletedEventArgs class once it completes.
Mar 23, 2014 at 11:59 PM
Edited Mar 24, 2014 at 12:10 AM
Oh I think I mislead you a little. I mean if I will specially enter wrong data how do I know that something goes wrong. There is no any signs, program continue work like nothing happens. Can I recieve any exception that I entered wrong username or password like when I connectiong from Windows?