Vb.net как получить ip - адрес другого компьютера удаленно
how can i find ip address of other computers remotely? it does not matter using cmd or others, as long it is in vb code.
Что я уже пробовал:
i have tried using cmd, but the arguments is for own pc. Dim ps As New Process With ps.StartInfo .FileName = "cmd.exe" .Arguments = "/C ipconfig | findstr /i ipv4" .CreateNoWindow = True .UseShellExecute = False .RedirectStandardOutput = True End With ps.Start() ps.WaitForExit() Dim output As String = ps.StandardOutput.ReadToEnd() ps.Close() MsgBox(output)