Skip to content

Commit 8eaea0e

Browse files
authored
Update GetRandomFileName remark (#3960)
1 parent 881670a commit 8eaea0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.IO/Path.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,8 +1608,8 @@ The following example demonstrates a use of the `GetPathRoot` method.
16081608
<format type="text/markdown"><![CDATA[
16091609
16101610
## Remarks
1611-
The <xref:System.IO.Path.GetRandomFileName%2A> method returns a cryptographically strong, random string that can be used as either a folder name or a file name. Unlike <xref:System.IO.Path.GetTempFileName%2A>, <xref:System.IO.Path.GetRandomFileName%2A> does not create a file. When the security of your file system is paramount, this method should be used instead of <xref:System.IO.Path.GetTempFileName%2A>.
1612-
1611+
1612+
Unlike <xref:System.IO.Path.GetTempFileName%2A>, <xref:System.IO.Path.GetRandomFileName%2A> does not create a file.
16131613
16141614
16151615
## Examples

0 commit comments

Comments
 (0)