WlanDisconnect

[DllImport("wlanapi.dll", SetLastError = true)]
public static extern uint WlanDisconnect(
   IntPtr hClientHandle,
   ref GUID pInterfaceGuid,
   IntPtr pReserved
);

Microsoft documentation: Link

Last updated