InternetAttemptConnect

[DllImport("wininet.dll", SetLastError = true)]
public static extern int InternetAttemptConnect(
   uint dwReserved
);

Microsoft documentation: Link

Last updated