From 32f9910fdfd95b33f0cf80112a99b787f9833245 Mon Sep 17 00:00:00 2001 From: Stefan-Alin Pahontu <56953855+alinpahontu2912@users.noreply.github.com> Date: Wed, 3 Sep 2025 16:56:25 +0200 Subject: [PATCH] add more details to ArchiveEntry Name property --- includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md b/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md index 185898facf6..369b7e1e413 100644 --- a/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md +++ b/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md @@ -1,4 +1,5 @@ The property contains the portion of the property that follows the final directory separator character (\\), and does not include the subdirectory hierarchy. For example, if you create two entries in a zip archive by using the method and provide `NewEntry.txt` as the name for the first entry and `AddedFolder\\NewEntry.txt` for the second entry, both entries will have `NewEntry.txt` in the property. The first entry will also have `NewEntry.txt` in the property, but the second entry will have `AddedFolder\\NewEntry.txt` in the property. +On Windows, colons (`:`) are also treated as separators due to NTFS rules, which can cause to differ across platforms. For platform-independent behavior, you can use , which always reflects the complete entry name as stored in the archive. ## Examples