Topics Search

How to get the Machine Name from a .NET Application using C# ?

How to get the Machine Name from a .NET Application using C# ?
Views: 1
You can use the MachineName property defined in the System.Environment class in order to get the Machine Name from your .NET Application. How to get the Machine Name from a .NET Application using C# ? Here’s a code sample demonstrating how to do it.
Sponsored Links:

Similar posts...

 

C++ Threading vs Windows Threading vs MFC Threading vs .Net Threading

C++ Threading vs Windows Threading vs MFC Threading vs .Net Threading Icon
C++ Threading vs Windows Threading vs MFC Threading vs .Net Threading There are multiple options to implement multi-threading and thread synchronization in Windows. For unmanaged application you can either use C++ language library classes, Windows API or MFC classes and for Managed code you have to use .Net classes. To get confidence creating additional threads in your application you should have clear ideas of threads and processes in windows and how they work together.
 

WinForm Barcode Reader with Webcam and C#

WinForm Barcode Reader with Webcam and C# Icon
When building a .NET application to read barcodes on Windows via camera, you need two types of SDKs – one for webcam, and the other for barcodes. In this post, I want to share how to use .Net webcam and barcode SDKs to create a simple WinForm barcode reader application in C#.
 

Simple C# Watchdog

Simple C# Watchdog Icon
This tip will describe the use of a simple watchdog process to monitor and revive another application. The watchdog process monitors and revives another application, should there be a failure. This can be used as a simple recovery technique to ensure application availability in critical environments. The WatchdogLib contains all the necessary utilities to implement and integrate a simple watchdog to your .NET applications.
 

Chat Application with Windows Services, .NET Remoting

Chat Application with Windows Services, .NET Remoting Icon
A chat application with Windows Services, .NET Remoting in C#.
 

Differences between C++ and C++ .NET (or Visual C++)

Differences between C++ and C++ .NET (or Visual C++) Icon
The purpose of this tutorial is to give you an idea of the differences between C++ and C++ .NET. It is suitable for those who want to migrate from C++ to C++ .NET but also for those with no prior experience in programming.
 

Finding Undisposed Objects

Finding Undisposed Objects Icon
An application to find undisposed objects in your .NET application.
 

Example in How to Read Excel File

Example in How to Read Excel File Icon
In this tip, we will show you some methods (developed using ASP.NET MVC) to load data from Excel file. This tip may be useful for intermediate developers who have some basics in C#, .NET and HTML. Microsoft Excel File is a spreadsheet developed by Microsoft. It features are calculation, graphic tools, and micro programming language using Visual Basic for Application (VBA).
 

Windows Forms (WinForms) with System Tray Icon using C# and VB.Net

Windows Forms (WinForms) with System Tray Icon using C# and VB.Net Icon
In this article I will explain with an example, how to implement a Windows Forms (WinForms) Application with System Tray Icon using C# and VB.Net. First Add Form Resize event to the Windows Form using the Properties Windows..
 

Horizontal scaling .net C# / NodeJS, MongDB with Micro Services

Horizontal scaling .net C# / NodeJS, MongDB with Micro Services Icon
In this article I am assuming you have basic understanding of .net / Nodejs (Javascript) , Message Queue and Database (Mongodb / SQL Server). Code base which is attached with this article is been developed using Nodejs, but it does not mean this design is specific to .net or nodejs. We can use any language which we are comfortable with. Multiple language can also coexists.
 

Inserting & Retrieving records from M.S.Access-2007 using Odbc in C#.net

Inserting & Retrieving records from M.S.Access-2007 using Odbc in C#.net Icon
To develop a windows application for performing insert, search, update, delete operations & navigation of MS Access 2007 records using Odbc connection. Create a table in file and populate it. In our application we use ‘stud.accdb’ file, which consists ‘student’ table.