Environment.MachineName : Environment Settings « Development Class « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Design Patterns
8.Development Class
9.Event
10.File Stream
11.Generics
12.GUI Windows Form
13.Language Basics
14.LINQ
15.Network
16.Office
17.Reflection
18.Regular Expressions
19.Security
20.Services Event
21.Thread
22.Web Services
23.Windows
24.Windows Presentation Foundation
25.XML
26.XML LINQ
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source
C# / C Sharp » Development Class » Environment SettingsScreenshots 
Environment.MachineName
  

using System;

class MainClass {
    public static void Main() {
        Console.WriteLine("Machine name : " + Environment.MachineName);

    }
}

   
  
Related examples in the same category
1.Environment Variables for Simple Security TasksEnvironment Variables for Simple Security Tasks
2.Get Startup path, application name and vendorGet Startup path, application name and vendor
3..NET Frameworks Overview:Accessing Environment Settings.NET Frameworks Overview:Accessing Environment Settings
4.Environment.GetEnvironmentVariable
5.Environment.ExpandEnvironmentVariables
6.Environment.GetEnvironmentVariables(EnvironmentVariableTarget.Process)
7.Environment.CommandLine, Environment.GetCommandLineArgs()
8.Environment.GetFolderPath
9.Environment.SpecialFolder
10.Environment.CommandLine
11.Environment.OSVersion
12.Environment.Version
13.Environment.UserName
14.Environment.UserDomainName
15.Environment.UserInteractive
16.Environment.HasShutdownStarted
17.Environment.TickCount
18.Environment.GetLogicalDrives
19.Environment.CurrentDirectory
20.Environment.SystemDirectory
21.Is 2003 Vista Or Greater
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.