I am building a winform app, for ease of use I integrated our vpn into the app. However, the app has a database connection that depends on the network/vpn connection already being established. What's the best way to handle this? Is there a way to manually start the database connection or have the db connection start on an event?
Any help would be greatly appreciated. Thanks!
