PC Review


Reply
Thread Tools Rate Thread

Detect Change in PC Name

 
 
Guest
Posts: n/a
 
      19th Aug 2004
Is there a way to detect if the computer name has been changed in .NET?


 
Reply With Quote
 
 
 
 
Anthony Sullivan
Guest
Posts: n/a
 
      19th Aug 2004
I believe this would require a service of some sort running on the box.

This could poll the computer name at regular intervals and ensure that it
hadn't changed and then react when it had. Not sure how usefull that would
be if you have to reboot when changing the name of a pc in xp.

Off the top of my head I can't recall if changing the name of a computer
requires a reboot in xp but if you had an app running on startup that
detected the computer name and then compared it to the previous name (The
app would have to store this), then you could then execute some sort of code
to respond at that point.

Sorry it isn't more helpful but I don't believe that the changing of the
computer name fires any type of event that you could handle.


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a way to detect if the computer name has been changed in .NET?
>
>



 
Reply With Quote
 
One Handed Man \( OHM - Terry Burns \)
Guest
Posts: n/a
 
      19th Aug 2004
Changing the name 'does' require a reboot

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Anthony Sullivan" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I believe this would require a service of some sort running on the box.
>
> This could poll the computer name at regular intervals and ensure that it
> hadn't changed and then react when it had. Not sure how usefull that would
> be if you have to reboot when changing the name of a pc in xp.
>
> Off the top of my head I can't recall if changing the name of a computer
> requires a reboot in xp but if you had an app running on startup that
> detected the computer name and then compared it to the previous name (The
> app would have to store this), then you could then execute some sort of

code
> to respond at that point.
>
> Sorry it isn't more helpful but I don't believe that the changing of the
> computer name fires any type of event that you could handle.
>
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Is there a way to detect if the computer name has been changed in .NET?
> >
> >

>
>



 
Reply With Quote
 
Jeff Johnson [MVP: VB]
Guest
Posts: n/a
 
      19th Aug 2004

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:(E-Mail Removed)...

> Changing the name 'does' require a reboot


....in ALL versions of Windows.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
for the change that change event cant detect =?Utf-8?B?Sm9uYXRoYW4=?= Microsoft Excel Programming 0 24th Jul 2007 02:22 PM
Detect SIM change! =?Utf-8?B?QXp6aSBTdGVmYW5v?= Microsoft Dot NET Compact Framework 5 26th Jul 2006 02:30 AM
detect row change Sam Microsoft VB .NET 6 16th Jun 2005 05:17 PM
how to detect IP change ? Polaris Windows XP Networking 2 5th May 2005 05:53 PM
Detect Change in PC Name Microsoft Dot NET 3 19th Aug 2004 07:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.