[DllImport("Kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)] public static extern bool SetFileShortName(IntPtr hFile, string lpShortName );
Microsoft documentation: Link
Last updated 1 year ago