Click here to Skip to main content
15,898,941 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: how to get ip of remote machine in a LAN Pin
Christian Graus6-Sep-09 23:16
protectorChristian Graus6-Sep-09 23:16 
QuestionData grid view control customization... Pin
Husnain Afzal6-Sep-09 22:48
Husnain Afzal6-Sep-09 22:48 
AnswerRe: Data grid view control customization... Pin
Christian Graus6-Sep-09 23:04
protectorChristian Graus6-Sep-09 23:04 
AnswerRe: Data grid view control customization... Pin
khosnur6-Sep-09 23:48
khosnur6-Sep-09 23:48 
Questionmail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 22:27
khosnur6-Sep-09 22:27 
AnswerRe: mail delete from pop3 mail server using C# Pin
monstale6-Sep-09 22:45
monstale6-Sep-09 22:45 
GeneralRe: mail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 22:50
khosnur6-Sep-09 22:50 
AnswerRe: mail delete from pop3 mail server using C# Pin
monstale6-Sep-09 22:55
monstale6-Sep-09 22:55 
GeneralRe: mail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 22:59
khosnur6-Sep-09 22:59 
GeneralRe: mail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 23:03
khosnur6-Sep-09 23:03 
AnswerRe: mail delete from pop3 mail server using C# Pin
monstale6-Sep-09 23:05
monstale6-Sep-09 23:05 
GeneralRe: mail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 23:14
khosnur6-Sep-09 23:14 
GeneralRe: mail delete from pop3 mail server using C# Pin
Christian Graus6-Sep-09 23:05
protectorChristian Graus6-Sep-09 23:05 
GeneralRe: mail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 23:21
khosnur6-Sep-09 23:21 

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.