Skip to content

Commit a25b2b4

Browse files
authored
Update xml/System/Environment.xml
1 parent e8ba652 commit a25b2b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xml/System/Environment.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,8 @@ The following example creates environment variables for the <xref:System.Environ
15801580
The name of this computer is established at system startup when the name is read from the registry. If this computer is a node in a cluster, the name of the node is returned.
15811581
15821582
## Examples
1583-
The following example displays the name of the computer that runs the code example. An example computer name has been given here, however you should never reveal your computers name for security reasons.
1583+
1584+
The following example displays the name of the computer that runs the code example. For security reasons, a fictitious computer name is shown in the output.
15841585
15851586
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Environment.MachineName/CPP/machinename.cpp" id="Snippet1":::
15861587
:::code language="csharp" source="~/snippets/csharp/System/Environment/MachineName/machinename.cs" id="Snippet1":::

0 commit comments

Comments
 (0)