I am working on the Watchguard SSL VPN AddOn.

It's a very basic implementation, because of the limited client, but it could be sufficient. However, since the client itself does not have any kind of interface (API/SDK or CLI) I cannot close the session nicely. So when someone has a working VPN session and want to close it by using RDM, I somehow need to terminate the process.
When I do that by just say process.Kill() RDM crashes and so does my entire Windows (BSOD).
So I tried to Break() before doing the dirty stuff, but then RDM gives me an error telling me that I cannot use breakpoints and crashes... and so does Windows.

Any ideas on how to do this nicely?



Clock7 yrs