var psi = new ProcessStartInfo { /* TODO: Adjust "My VPN Connection" to the name of your VPN connection */ Arguments = "\"My VPN Connection\"", FileName = @"c:\windows\system32\rasdial.exe", WindowStyle = ProcessWindowStyle.Normal, UseShellExecute = true }; Process.Start(psi).WaitForExit();
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.