473,396 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IP Address Change Notify

Jon
Hi

Can anyone point me in the right direction for programmatically getting notifications of the change of an IP address by the user?

I have an app that monitors an IP address. If the user changes the address, I need to be informed.

Thanks

Jon
Nov 22 '05 #1
2 1684
There is currently nothing in the FCL, to help you with this.
When running W2K or higher you have to call the IP Helper (iphlpapi)
functions using PInvoke, or MC++.

Willy.

"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi

Can anyone point me in the right direction for programmatically getting
notifications of the change of an IP address by the user?

I have an app that monitors an IP address. If the user changes the
address, I need to be informed.

Thanks

Jon

Nov 22 '05 #2
Or another thing you can do is write your own application. I have done this
before where I used a thread to poll the computer to detect when the IP
address changes. Then you can call some event handler to notify the IP has
changed.

The IPAddress class sample code shows you how to get the IP addresses for
the local computer.

http://msdn.microsoft.com/library/de...ClassTopic.asp

Eric

--
Eric Cherng
MCP, MCDBA, MCSD
http://echerng.net/blog
"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
Thanks

"Willy Denoyette [MVP]" wrote:
There is currently nothing in the FCL, to help you with this.
When running W2K or higher you have to call the IP Helper (iphlpapi)
functions using PInvoke, or MC++.

Willy.

"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi

Can anyone point me in the right direction for programmatically getting notifications of the change of an IP address by the user?

I have an app that monitors an IP address. If the user changes the
address, I need to be informed.

Thanks

Jon


Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jon | last post by:
Hi Can anyone point me in the right direction for programmatically getting notifications of the change of an IP address by the user? I have an app that monitors an IP address. If the user...
1
by: Alessandro GARDICH | last post by:
Hi to all I have problem with NOTIFY/LISTEN ... I'm writing a C++ application with libpqxx, I thought was a problem of the lib but I try also with a C program using libpq with the same result,...
0
by: nekiv90 | last post by:
Greetings, Can someone see what goes wrong with email notification from Health center? I'm running DB2 v8.2.2 on W2K. I am able to test connection to database successfully, confirm correct...
3
by: roger beniot | last post by:
I would like to figure out how to detect an IP address change for an XP/Win2K3 machine that is leasing an IP via DHCP (and do it in C#)... Is there any event that indicates an IP address...
0
by: Marcin Grzębski | last post by:
Hi, I want do create control (based on UserControl) that contains collection MyItemCollection (inherited from ICollection) of objects MyItem. I spent so much time to force this collection save...
0
by: Vinay Agarwal | last post by:
Hello, I am writing an application that wants to monitor another application's state (on the same computer). This other application is a commercial application and I do not have access to its...
3
by: Frank van Vugt | last post by:
L.S. Either the docs or I are missing something.... While using libpq I noticed that listen/notify calls were being converted to lowercase. A further look showed that the listen/notify calls...
5
by: Ted Shab | last post by:
Hi, I'm trying to come up with a relatively simple multi-master replication solution. This is for multiple databases that need to be discreet, and change relatively infrequently (10-30 updates...
1
by: namrataa | last post by:
i have a notify icon for our media player developed in wpf. included files are notify.cs,notify.resx,notify.designer.cs. i have also added a class file called app.cs . now the problem is how...
5
by: Peter | last post by:
I have a webpage which creates reports, a report can take few seconds or several minutes to create. This webpage calls a web service which in turn does a remoting call to a windows service and the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.