Abundant Code

  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • F#
  • JavaScript
  • ASP.NET
  • C
  • Java
  • SQL Server
  • Assembly Lang
Home ยป Computer Name

How to get the Computer Name in C# ?

February 8, 2016 by AbundantCode Leave a Comment

When working on a Winforms or Console application using C# , sometimes you might need to get the computer name where the application is running. How to get the Computer Name in C# ? To retrieve the computer name , one can use the System.Environment.MachineName property as shown below.

Filed Under: C# Tagged With: Computer Name, Console, Winforms, WPF

How to Get the Computer Name using VB.NET?

January 24, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet that demonstrates how to get the current computer name using VB.NET? How to Get the Computer Name using VB.NET?

Filed Under: C# Tagged With: Computer Name, Get, How to, VB.NET

RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval

Categories

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML

Blog Stats

  • 8,729,417 hits

Archives

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to open display settings from command line in Windows 10 ?
  • C Program to display half-pyramid using alphabets
  • How to Extract number from a string using C# ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • Tools to Convert Java to C# Source Code
  • Json.NET & VB.NET - How to Deserialize an Object ?
  • How to Check if Integer is a multiple of a number in Java?
  • C# Program - How to Calculate Age based on DateTime ?

Categories

  • Android
  • Angular 2
  • ASP.NET
  • Assembly Language
  • C
  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • Excel
  • F#
  • HTML
  • Interview Questions
  • Java
  • JavaScript
  • jQuery
  • Microsoft Office
  • MySQL
  • NETWORK
  • News
  • PHP
  • popular
  • PowerShell
  • Python
  • Ruby
  • SharePoint
  • SQL Server
  • SQL Server
  • Unix
  • VB.NET
  • Visual Studio
  • WebAPI
  • Windows
  • Windows Azure
  • Windows Forms
  • XAML

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to open display settings from command line in Windows 10 ?
  • C Program to display half-pyramid using alphabets
  • How to Extract number from a string using C# ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • Tools to Convert Java to C# Source Code
  • Json.NET & VB.NET - How to Deserialize an Object ?
  • How to Check if Integer is a multiple of a number in Java?
  • C# Program - How to Calculate Age based on DateTime ?

Recent Posts

  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval
  • Python Program to Check Prime Number
  • Python Program to Find the Largest Value Among Three Numbers
  • Python Program to Check If a Given Year is Leap Year
  • Python Program to Check if a Number is Odd or Even
  • Python Program to Check if a Number is Positive, Negative or Zero

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML