Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating An Array of Stats from a DataTable Pin
Pete O'Hanlon15-Jul-08 22:23
mvePete O'Hanlon15-Jul-08 22:23 
GeneralRe: Creating An Array of Stats from a DataTable Pin
Jammer16-Jul-08 0:49
Jammer16-Jul-08 0:49 
GeneralRe: Creating An Array of Stats from a DataTable Pin
Jammer16-Jul-08 8:38
Jammer16-Jul-08 8:38 
QuestionC# Raw IP Address Pin
DwR15-Jul-08 9:19
DwR15-Jul-08 9:19 
AnswerRe: C# Raw IP Address Pin
Pete O'Hanlon15-Jul-08 9:27
mvePete O'Hanlon15-Jul-08 9:27 
GeneralRe: C# Raw IP Address Pin
DwR15-Jul-08 12:05
DwR15-Jul-08 12:05 
GeneralRe: C# Raw IP Address Pin
Colin Angus Mackay15-Jul-08 13:32
Colin Angus Mackay15-Jul-08 13:32 
GeneralRe: C# Raw IP Address Pin
DwR15-Jul-08 13:48
DwR15-Jul-08 13:48 
Hi,
I think I've resolved this. By setting the type as IPAddress the member "GetAddressBytes" can be used to convert the address to bytes matching the type of the variable "address". Thanks for your tip, it pointed me in the right directions.

That said, I've hit another problem which seems to be a bit trickier. I need to determine the IP addresses associated with the network interfaces of the multi-homed host the code is running on. I am capturing the available interfaces as follows:

NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();

I then want to loop through the entries and for each one load it's associated IP Addresses into an IPHostEntry instance (or similar). However, I don't see any way to determine the list of ip addresses associated with a particular network interface returned by the foreach loop as it iterates through "interfaces". How is this done?

Regards,
Dave

QuestionSearch from rtb1 and delete if rtb2 contains rtb1 Pin
Stricter15-Jul-08 8:35
Stricter15-Jul-08 8:35 
AnswerRe: Search from rtb1 and delete if rtb2 contains rtb1 Pin
Pete O'Hanlon15-Jul-08 9:18
mvePete O'Hanlon15-Jul-08 9:18 
GeneralRe: Search from rtb1 and delete if rtb2 contains rtb1 Pin
Stricter15-Jul-08 10:48
Stricter15-Jul-08 10:48 
GeneralRe: Search from rtb1 and delete if rtb2 contains rtb1 Pin
Pete O'Hanlon15-Jul-08 10:54
mvePete O'Hanlon15-Jul-08 10:54 
GeneralRe: Search from rtb1 and delete if rtb2 contains rtb1 Pin
Stricter15-Jul-08 10:58
Stricter15-Jul-08 10:58 
QuestionRecording from mic to mp3 Pin
Johan Martensson15-Jul-08 6:28
Johan Martensson15-Jul-08 6:28 
GeneralRe: Recording from mic to mp3 Pin
Firedragonweb15-Jul-08 6:43
Firedragonweb15-Jul-08 6:43 
GeneralRe: Recording from mic to mp3 Pin
Johan Martensson15-Jul-08 6:50
Johan Martensson15-Jul-08 6:50 
AnswerRe: Recording from mic to mp3 Pin
DaveyM6915-Jul-08 6:48
professionalDaveyM6915-Jul-08 6:48 
GeneralRe: Recording from mic to mp3 Pin
Johan Martensson15-Jul-08 9:11
Johan Martensson15-Jul-08 9:11 
GeneralRe: Recording from mic to mp3 Pin
DaveyM6915-Jul-08 10:58
professionalDaveyM6915-Jul-08 10:58 
GeneralRe: Recording from mic to mp3 Pin
Johan Martensson15-Jul-08 12:06
Johan Martensson15-Jul-08 12:06 
GeneralRe: Recording from mic to mp3 Pin
DaveyM6915-Jul-08 12:20
professionalDaveyM6915-Jul-08 12:20 
GeneralRe: Recording from mic to mp3 Pin
Johan Martensson15-Jul-08 20:31
Johan Martensson15-Jul-08 20:31 
GeneralRe: Recording from mic to mp3 Pin
DaveyM6916-Jul-08 10:18
professionalDaveyM6916-Jul-08 10:18 
AnswerRe: Recording from mic to mp3 Pin
Thomas Stockwell15-Jul-08 8:27
professionalThomas Stockwell15-Jul-08 8:27 
Question100 controls on a form Pin
netJP12L15-Jul-08 6:19
netJP12L15-Jul-08 6:19 

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.