[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] public static extern IntPtr PathQuoteSpaces( [MarshalAs(UnmanagedType.LPWStr)] string lpsz );
Microsoft documentation: Link
Last updated 1 year ago