Consider replacing GetTempFileName with GetTempPath and GetRandomFileName #638

Closed
opened 2025-08-09 17:17:04 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jbagga on 6/23/2017

Consider removing uses of GetTempFileName as

The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files.

P0:
StringAsTempFile

P1:
Appveyor

See aspnet/Coherence-Signed#510 for more information.

cc @Eilon

*Originally created by @jbagga on 6/23/2017* Consider removing uses of `GetTempFileName` as > The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files. P0: [StringAsTempFile](https://github.com/aspnet/JavaScriptServices/blob/dev/src/Microsoft.AspNetCore.NodeServices/Util/StringAsTempFile.cs#L24) P1: [Appveyor](https://github.com/aspnet/JavaScriptServices/blob/dev/appveyor.yml#L10) See aspnet/Coherence-Signed#510 for more information. cc @Eilon
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#638
No description provided.