[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.U4)] public static extern uint GetTempFileName( string lpPathName, string lpPrefixString, uint uUnique, StringBuilder lpTempFileName );
Microsoft documentation: Link
Last updated 1 year ago