RasEnumConnections
[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern int RasEnumConnections(
ref RASCONN lprasconn,
ref int lpcb,
ref int lpcConnections
);
Microsoft documentation: Link
Last updated