[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] public static extern int PathCreateFromUrl( [MarshalAs(UnmanagedType.LPWStr)] string pszUrl, StringBuilder pszPath, ref uint pcchPath, uint dwFlags );
Microsoft documentation: Link
Last updated 1 year ago