Click here to Skip to main content
15,920,836 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Open Dialog Box Pin
Heath Stewart24-Jun-04 5:45
protectorHeath Stewart24-Jun-04 5:45 
GeneralRe: C# Open Dialog Box Pin
HyVong24-Jun-04 5:49
HyVong24-Jun-04 5:49 
GeneralRe: C# Open Dialog Box Pin
HyVong25-Jun-04 3:25
HyVong25-Jun-04 3:25 
Generalquery builer Pin
Member 114126624-Jun-04 2:35
Member 114126624-Jun-04 2:35 
GeneralMS Project 2003 Pin
frankvgb24-Jun-04 1:41
frankvgb24-Jun-04 1:41 
GeneralRe: MS Project 2003 Pin
Heath Stewart24-Jun-04 6:23
protectorHeath Stewart24-Jun-04 6:23 
Questionserver name? Pin
quocbao24-Jun-04 1:19
quocbao24-Jun-04 1:19 
AnswerRe: server name? Pin
Heath Stewart24-Jun-04 6:37
protectorHeath Stewart24-Jun-04 6:37 
What? Can you please rephrase your question a little more clearly?

If you want to get the remote computer name in an ASP.NET web application (i.e., the requesting machine), use Request.ServerVariables["REMOTE_HOST"].

If you want to get the name of the computer on which your code is currently running, use Environment.MachineName.

If you want to enumerate the machines on your local network, you can use the System.DirectoryServices to enumerate domain machines or P/Invoke the Network Management APIs which is discussed in several articles here on CodeProject. Try the following search: http://www.codeproject.com/info/search.asp?cats=3&cats=5&searchkw=NetServerEnum[^].

 

Microsoft MVP, Visual C#
My Articles
Questionserver name? Pin
quocbao24-Jun-04 1:18
quocbao24-Jun-04 1:18 
QuestionHow to write a Async UDP socket code? Pin
fu023-Jun-04 20:53
fu023-Jun-04 20:53 
AnswerRe: How to write a Async UDP socket code? Pin
Heath Stewart24-Jun-04 6:41
protectorHeath Stewart24-Jun-04 6:41 
GeneralRe: How to write a Async UDP socket code? Pin
fu024-Jun-04 22:15
fu024-Jun-04 22:15 
GeneralRe: How to write a Async UDP socket code? Pin
Heath Stewart25-Jun-04 3:41
protectorHeath Stewart25-Jun-04 3:41 
GeneralRe: How to write a Async UDP socket code? Pin
fu027-Jun-04 16:12
fu027-Jun-04 16:12 
GeneralSaving DataSet with calculated columns Pin
myNameIsRon23-Jun-04 19:58
myNameIsRon23-Jun-04 19:58 
GeneralRe: Saving DataSet with calculated columns Pin
Heath Stewart24-Jun-04 5:32
protectorHeath Stewart24-Jun-04 5:32 
GeneralRe: Saving DataSet with calculated columns Pin
myNameIsRon25-Jun-04 8:54
myNameIsRon25-Jun-04 8:54 
Generalproject problem Pin
dan_ta2223-Jun-04 19:34
dan_ta2223-Jun-04 19:34 
GeneralRe: project problem Pin
Xiangyang Liu 刘向阳24-Jun-04 1:38
Xiangyang Liu 刘向阳24-Jun-04 1:38 
GeneralRe: project problem Pin
dan_ta2227-Jun-04 14:24
dan_ta2227-Jun-04 14:24 
GeneralRe: project problem Pin
LongRange.Shooter24-Jun-04 8:52
LongRange.Shooter24-Jun-04 8:52 
GeneralRe: project problem Pin
dan_ta2227-Jun-04 14:29
dan_ta2227-Jun-04 14:29 
GeneralA windows service with System.Web.Mail Pin
Valdair23-Jun-04 15:09
Valdair23-Jun-04 15:09 
GeneralRe: A windows service with System.Web.Mail Pin
eggie523-Jun-04 16:05
eggie523-Jun-04 16:05 
GeneralRe: A windows service with System.Web.Mail Pin
Valdair24-Jun-04 7:04
Valdair24-Jun-04 7:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.