Hallo,
wie kann ich eine Windows IP-Route hinzufügen ohne den DOS-Befehl ROUTE zu verwenden?
Momentan verwende ich:
Dim myProcess As New Process
myProcess.StartInfo.FileName = "route.exe"
myProcess.StartInfo.CreateNoWindow = True
myProcess.StartInfo.UseShellExecute = True
myProcess.StartInfo.Arguments = " ADD " & cCustomer_IP & " " & cLocal_IP
myProcess.Start()
myProcess.StartInfo.Arguments = " ADD " & cCustomer_NATIP & " " & cLocal_IP
myProcess.Start()
myProcess.Dispose()
Natürlich möchte ich die Route auch wieder löschen können
Vielen Dank
Michael U.
wie kann ich eine Windows IP-Route hinzufügen ohne den DOS-Befehl ROUTE zu verwenden?
Momentan verwende ich:
Dim myProcess As New Process
myProcess.StartInfo.FileName = "route.exe"
myProcess.StartInfo.CreateNoWindow = True
myProcess.StartInfo.UseShellExecute = True
myProcess.StartInfo.Arguments = " ADD " & cCustomer_IP & " " & cLocal_IP
myProcess.Start()
myProcess.StartInfo.Arguments = " ADD " & cCustomer_NATIP & " " & cLocal_IP
myProcess.Start()
myProcess.Dispose()
Natürlich möchte ich die Route auch wieder löschen können
Vielen Dank
Michael U.