Connection failed

Mar 19, 2014 at 11:51 PM
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 4: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 10:59 PM
Edited Mar 23, 2014 at 11:10 PM
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?