[DllImport("wlanapi.dll", SetLastError = true)] public static extern uint WlanConnect( IntPtr hClientHandle, ref GUID pInterfaceGuid, ref WLAN_CONNECTION_PARAMETERS pConnectionParameters, IntPtr pReserved );
Microsoft documentation: Link
Last updated 1 year ago