vb.net - VPN Connection using VB in Visual Studion 2013 -
using visual studio 2013 , coding vb, not c#, need able create vpn connection. have been looking several days , tried several things nothing works. need disconnect. have done in batch file using following.
rasdial "vpn connection" user password
rasdial "china vpn connection" /disconnect
obviously not work in vb.net.
private sub button2_click(sender object, e eventargs) handles button2.click
rasdial "vpn connection" user password
end sub
Comments
Post a Comment