Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
AnswerRe: Please Help Pin
Nicholas Butler7-Sep-09 0:15
sitebuilderNicholas Butler7-Sep-09 0:15 
GeneralRe: Please Help Pin
itsravie7-Sep-09 0:17
itsravie7-Sep-09 0:17 
GeneralRe: Please Help Pin
Kevin McFarlane7-Sep-09 0:19
Kevin McFarlane7-Sep-09 0:19 
GeneralRe: Please Help Pin
itsravie7-Sep-09 0:38
itsravie7-Sep-09 0:38 
GeneralRe: Please Help Pin
Not Active7-Sep-09 2:59
mentorNot Active7-Sep-09 2:59 
GeneralRe: Please Help Pin
Nicholas Butler7-Sep-09 0:20
sitebuilderNicholas Butler7-Sep-09 0:20 
GeneralRe: Please Help Pin
DaveyM697-Sep-09 0:23
professionalDaveyM697-Sep-09 0:23 
GeneralRe: Please Help Pin
Nicholas Butler7-Sep-09 0:39
sitebuilderNicholas Butler7-Sep-09 0:39 
QuestionProblem in setup project [modified] Pin
xodeblack6-Sep-09 23:55
xodeblack6-Sep-09 23:55 
AnswerRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:02
professionalKeith Barrow7-Sep-09 0:02 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 0:09
xodeblack7-Sep-09 0:09 
GeneralRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:14
professionalKeith Barrow7-Sep-09 0:14 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 0:23
xodeblack7-Sep-09 0:23 
GeneralRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:26
professionalKeith Barrow7-Sep-09 0:26 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 0:29
xodeblack7-Sep-09 0:29 
GeneralRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:56
professionalKeith Barrow7-Sep-09 0:56 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 1:04
xodeblack7-Sep-09 1:04 
GeneralRe: Problem in setup project Pin
Greg Chelstowski7-Sep-09 0:30
Greg Chelstowski7-Sep-09 0:30 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 1:05
xodeblack7-Sep-09 1:05 
QuestionHow do i set a date using Crystal Reports Pin
rehpot6-Sep-09 23:15
rehpot6-Sep-09 23:15 
Questionhow to get ip of remote machine in a LAN Pin
Ajithevn6-Sep-09 23:10
Ajithevn6-Sep-09 23:10 
AnswerRe: how to get ip of remote machine in a LAN [modified] Pin
Harvey Saayman6-Sep-09 23:15
Harvey Saayman6-Sep-09 23:15 
System.Net.IPAddress[] myIpAddresses = System.Net.Dns.GetHostAddresses(Environment.MachineName);


<Edit> oops, only just saw you wanted remote machine. In that case just specify the HostName instead of Environment.MachineName like so...
System.Net.IPAddress[] myIpAddresses = System.Net.Dns.GetHostAddresses("SomeComputer");

</Edit>

<Edit2> OMG, i think I'm experiencing dyslexia!!

If you want to run the app remotely and get its machines IP use the 1st snippet, but like CG said it needs to be sent somewhere...

If you have the remote machines HostName you can use the 2nd snippet on the local machine.
</Edit2>

Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL

you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

modified on Monday, September 7, 2009 5:22 AM

GeneralRe: how to get ip of remote machine in a LAN Pin
Ajithevn7-Sep-09 4:08
Ajithevn7-Sep-09 4:08 
GeneralRe: how to get ip of remote machine in a LAN Pin
Harvey Saayman7-Sep-09 4:10
Harvey Saayman7-Sep-09 4:10 
GeneralRe: how to get ip of remote machine in a LAN Pin
Ajithevn7-Sep-09 4:18
Ajithevn7-Sep-09 4:18 

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.