Replies: 1 comment 1 reply
-
Can you clarify? What code was possible pre-.NET 6 that breaks with .NET 6? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From the WinAPI (https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea) I can see that there is a
FILE_ATTRIBUTE_TEMPORARY
flag when creating a file which seems to be very useful in my case.The question in general is, does
FILE_ATTRIBUTE_TEMPORARY
have an effect? I assume some other flags its only a hint to the file manager. I can also understand that this is not available on other platforms, but if it can be seen as a hint only (windows), it could also be seen as such in other platforms.Another solution might be
but this looks a bit clumsy.
Beta Was this translation helpful? Give feedback.
All reactions