InternetCrackUrl
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern bool InternetCrackUrl(
string lpszUrl,
uint dwUrlLength,
uint dwFlags,
ref URL_COMPONENTS lpUrlComponents
);
Microsoft documentation: Link
Last updated