how to get a list of network connections on my computer using c # vpn or others
in Windows 7 this way Control Panel \ Network and Internet \ Network Connections
I need to write a function to connect to the internet in C #
I assume that you are looking for a list of network interfaces.
The System.Net.NetworkInformation.NetworkInterface class is probably what you need, specifically GetAllNetworkInterfaces () .
, , , NetworkInterfaceType, loopback tunneling.
Source: https://habr.com/ru/post/1739810/More articles:должен ли std:: auto_ptr <>:: operator = reset/освободить существующий pointee? - c++Creating a notification system using the Firefox extension - javascriptHow to see std :: map contents in Visual C ++ .NET (Visual Studio 2003) during debugging? - c ++Which database to choose? - sqlOverriding classes / functions from .dll - c ++Load MySQLdb database query result into memory - pythonWorking on Peano's axioms in Agda and hitting a piece of point - haskellredis timeout with predis - redisPython socket error while receiving UDP data. (10054) - pythonUDP Hole Punching (C ++ / winsock) - c ++All Articles