[DllImport("Mpr.dll", SetLastError = true)] public static extern uint WNetCancelConnection( string lpszName, bool fForce );
Microsoft documentation: Link
Last updated 2 months ago