Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-23 Thread Steve Loughran
Thomas Tomiczek says >Well, the original question was getting all the IP addresses a computer >posesses. >IMHO I am back to reading the registry information for the TCP Stack :-( no no no. I was just scaring you with the details of determining whether an an IP addr was valid or not, which is

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Miguel Ángel Chacón
, 22 de abril de 2002 12:25 Para: [EMAIL PROTECTED] Asunto: Re: [DOTNET] Finding out the IP-Address of a PC WMI works on Win98 with no problems, but needs an extra download [1]. Is this what you are after? [1] http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.as p?ur l=/MSDN

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Willy Denoyette
;[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 4:34 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC > The information in some KB articles is rather confusing. > > Q238668 lists the iphlpapi.dll being included with W98 SE, which is the case, but >nowhere they say it's

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Casey Schmit
in all the functionality of the Win2k version, and I'm not sure if there is a definitive list of the differences. Casey -Original Message- From: Willy Denoyette [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 6:36 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Willy Denoyette
and are supported on W98. Willy. - Original Message - From: "Thomas Tomiczek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 3:59 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC Really? Well, then we move up to in98 SE Regards T

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Thomas Tomiczek
002 3:21 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC > > No, he is right :-) > > > > According to my docu: > > Which is good. Because the NetSamples.Common.Net classes I mentioned > use the IP Helper library. > > Justin > > You can read messag

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Willy Denoyette
ubject: Re: [DOTNET] Finding out the IP-Address of a PC > > No, he is right :-) > > > > According to my docu: > > Which is good. Because the NetSamples.Common.Net classes I mentioned use the IP >Helper library. > > Justin > > You can read messages fr

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Justin Rudd
> No, he is right :-) > > According to my docu: Which is good. Because the NetSamples.Common.Net classes I mentioned use the IP Helper library. Justin You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.co

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Justin Rudd
> But they do :-) No they don't. The sample code does come with a class that uses WMI. But the one I was talking about is in the NetSamples.Common.Net namespace. The one you are thinking about is in the NetSamples.Common.Management namespace. Justin You can read messages from the DOTNET ar

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Thomas Tomiczek
THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Willy Denoyette [mailto:[EMAIL PROTECTED]] Sent: Montag, 22. April 2002 13:36 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the IP-Address of a PC Are you sure this works on W98, I could be wrong, but I

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Willy Denoyette
:29 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC Unmanaged, but working: HTH Axel #include "stdafx.h" #include #include #include #pragma comment(lib, "Iphlpapi.lib") void printIPAddresses () { PMIB_IPADDRTABLEtable; DWORD

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Axel Heitland
Unmanaged, but working: HTH Axel #include "stdafx.h" #include #include #include #pragma comment(lib, "Iphlpapi.lib") void printIPAddresses () { PMIB_IPADDRTABLEtable; DWORD size=0; GetIpAddrTable( 0, &size, TRUE ); table =

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Thomas Tomiczek
lto:[EMAIL PROTECTED]] Sent: Montag, 22. April 2002 12:25 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the IP-Address of a PC WMI works on Win98 with no problems, but needs an extra download [1]. Is this what you are after? [1] http://msdn.microsoft.com/downloads/default.asp?url=/downloads

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Nick Wienholt
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 8:16 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC Then thats not usable again - our requirement for Windows 98 sadly makes this not usable, unless omeone has WMI for 98 lying around :-) Regards

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Thomas Tomiczek
: Montag, 22. April 2002 12:03 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the IP-Address of a PC But they do :-) Willy. - Original Message - From: "Thomas Tomiczek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 9:27 AM Subject: Re

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Willy Denoyette
But they do :-) Willy. - Original Message - From: "Thomas Tomiczek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 9:27 AM Subject: Re: [DOTNET] Finding out the IP-Address of a PC I will tell Jan to have a look at them :-) HOPEFUL

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-22 Thread Thomas Tomiczek
: [DOTNET] Finding out the IP-Address of a PC >Well, the original question was getting all the >IP addresses a computer posesses. > >IMHO I am back to reading the registry >information for the TCP Stack :-( This may have already been mentioned, but what about the Network classes f

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-21 Thread Justin Rudd
>Well, the original question was getting all the >IP addresses a computer posesses. > >IMHO I am back to reading the registry >information for the TCP Stack :-( This may have already been mentioned, but what about the Network classes from Microsoft's P2P framework on www.gotdotnet.com[1]? They

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-21 Thread Thomas Tomiczek
PROTECTED]] Sent: Sonntag, 21. April 2002 06:01 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the IP-Address of a PC - Original Message - From: "Thomas Tomiczek" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 09:49 Subject: Re: Finding out the IP-Address of a PC

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-20 Thread Steve Loughran
- Original Message - From: "Thomas Tomiczek" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 09:49 Subject: Re: Finding out the IP-Address of a PC >Ok, lets turn this around. >You have computer running an internal NIC, no DNS configured, and an >external one - from your provider. You l

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-20 Thread Thomas Tomiczek
[mailto:[EMAIL PROTECTED]] Sent: Freitag, 19. April 2002 18:34 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the IP-Address of a PC ... and this is why Duncan pointed him to the list archives as there were lots of samples _without_ using WMI (as Duncan said). Cheers, Christian

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Christian Weyer
t; > > > -Original Message- > From: Duncan Godwin [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 19. April 2002 18:20 > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Finding out the IP-Address of a PC > > > Search through the archives there are quite a few examples

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Thomas Tomiczek
TECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 5:22 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC Duncan, He had a solution using WMI. The problem is that this has to work on Windows 98 - WMI is not available there :-) Just exploded in our face. Regard

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Duncan Godwin
L PROTECTED]> Sent: Friday, April 19, 2002 5:22 PM Subject: Re: [DOTNET] Finding out the IP-Address of a PC Duncan, He had a solution using WMI. The problem is that this has to work on Windows 98 - WMI is not available there :-) Just exploded in our face. Regards Thomas Tomiczek THONA

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Thomas Tomiczek
]] Sent: Freitag, 19. April 2002 18:20 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Finding out the IP-Address of a PC Search through the archives there are quite a few examples of this without using WMI. Duncan - Original Message - From: "Reggie Burnett" <[EMAIL PROTECTED]

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Duncan Godwin
Search through the archives there are quite a few examples of this without using WMI. Duncan - Original Message - From: "Reggie Burnett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 5:00 PM Subject: Re: [DOTNET] Finding out the IP-Ad

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Reggie Burnett
I've heard of people capturing the output of ping of ipconfig. Ugly but works. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Jan Dropczynski Sent: Friday, April 19, 2002 8:02 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Finding out the IP-Address

[DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Jan Dropczynski
Hi everyone, does anyone know, how can I read the ip addresses from PC's network adapter if I can NOT use WMI. My WinApplication should display the addresses. That's works fine in WinXP, but on Win98 I cannot use WMI! Is there's a solution?? Regards, Jan You can read messages from the DOTNET arc