PathYetAnotherMakeUniqueName
[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)]
public static extern void PathYetAnotherMakeUniqueName(
StringBuilder pszUniqueName,
string pszPath,
string pszShort,
string pszFileSpec
);
Microsoft documentation: Link
Last updated