diff --git a/snippets/cpp/VS_Snippets_CLR/Environment.MachineName/CPP/machinename.cpp b/snippets/cpp/VS_Snippets_CLR/Environment.MachineName/CPP/machinename.cpp index 344e571ae41..75d4db4fbaa 100644 --- a/snippets/cpp/VS_Snippets_CLR/Environment.MachineName/CPP/machinename.cpp +++ b/snippets/cpp/VS_Snippets_CLR/Environment.MachineName/CPP/machinename.cpp @@ -12,8 +12,7 @@ int main() /* This example produces the following results: -(Any result that is lengthy, specific to the machine on which this sample was tested, or reveals information that should remain secure, has been omitted and marked S"!---OMITTED---!".) -MachineName: !---OMITTED---! +MachineName: MyDesktop */ // diff --git a/snippets/csharp/System/Environment/MachineName/machinename.cs b/snippets/csharp/System/Environment/MachineName/machinename.cs index b5a757f3baa..c2176df8943 100644 --- a/snippets/csharp/System/Environment/MachineName/machinename.cs +++ b/snippets/csharp/System/Environment/MachineName/machinename.cs @@ -13,8 +13,7 @@ public static void Main() } /* This example produces the following results: -(Any result that is lengthy, specific to the machine on which this sample was tested, or reveals information that should remain secure, has been omitted and marked "!---OMITTED---!".) -MachineName: !---OMITTED---! +MachineName: MyDesktop */ // \ No newline at end of file diff --git a/snippets/fsharp/System/Environment/MachineName/machinename.fs b/snippets/fsharp/System/Environment/MachineName/machinename.fs index b6476253d5f..271547f5cc7 100644 --- a/snippets/fsharp/System/Environment/MachineName/machinename.fs +++ b/snippets/fsharp/System/Environment/MachineName/machinename.fs @@ -6,7 +6,6 @@ open System printfn $"\nMachineName: {Environment.MachineName}" // This example produces the following results: -// (Any result that is lengthy, specific to the machine on which this sample was tested, or reveals information that should remain secure, has been omitted and marked "!---OMITTED---!".) // -// MachineName: !---OMITTED---! +// MachineName: MyDesktop // \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.MachineName/VB/machinename.vb b/snippets/visualbasic/VS_Snippets_CLR/Environment.MachineName/VB/machinename.vb index 645a7f9f4f5..5e6a2104031 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/Environment.MachineName/VB/machinename.vb +++ b/snippets/visualbasic/VS_Snippets_CLR/Environment.MachineName/VB/machinename.vb @@ -9,10 +9,7 @@ Class Sample End Class ' 'This example produces the following results: -'(Any result that is lengthy, specific to the machine on which this sample was tested, -'or reveals information that should remain secure, has been omitted -'and marked "!---OMITTED---!".) ' -'MachineName: !---OMITTED---! +'MachineName: MyDesktop ' ' \ No newline at end of file diff --git a/xml/System/Environment.xml b/xml/System/Environment.xml index 13ea11dd177..80cb1992276 100644 --- a/xml/System/Environment.xml +++ b/xml/System/Environment.xml @@ -1580,7 +1580,8 @@ The following example creates environment variables for the