Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

get current computer name C#

System.Environment.MachineName //from a console or WinForms app.
HttpContext.Current.Server.MachineName //from a web app
System.Net.Dns.GetHostName() //to get the FQDN
Comment

PREVIOUS NEXT
Code Example
Csharp :: how to make c# open brower 
Csharp :: aabb collision 
Csharp :: unity how to change rotation 
Csharp :: c# gzip byte array 
Csharp :: c# get username 
Csharp :: loop over object properties c# 
Csharp :: unity how to refrsh scene 
Csharp :: loop through an enum c# 
Csharp :: camera follow 
Csharp :: c# bytes to string 
Csharp :: get mouse position unity 
Csharp :: check connection c# 
Csharp :: unity to integer 
Csharp :: c# random enum 
Csharp :: Change fog setting Unity 
Csharp :: c# list files in directory 
Csharp :: unity move left and right 
Csharp :: spawn a object with unity 
Csharp :: core Request.CreateResponse 
Csharp :: decimal in .asp.net core 
Csharp :: c# string to sha256 
Csharp :: convert array from string to int c# 
Csharp :: unity print 
Csharp :: #region in c# 
Csharp :: c# press key 
Csharp :: There is already a virtual axis named Horizontal registered. unity 
Csharp :: messagebox.show c# error 
Csharp :: random.range unity 
Csharp :: how to make a dragable object in unity2D 
Csharp :: random character c# 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =