[DllImport("urlmon.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern int CreateUri( [MarshalAs(UnmanagedType.LPWStr)] string uri, uint flags, int dwReserved, out IntPtr uri );
Microsoft documentation: Link
Last updated 1 year ago