Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Registry and IP?

Featured Replies

Hey guys! (Another Question).

Just wondering in xp or any other version, if i have my machine which gets its IP from a DHCP server, can i retrieve it from the Registry?

Basically Im writting a app which gets the machines IP address, which then gets sent to a database.

Any idea's how i could get the IP address? would it be in readable form, as in a string of ints?

thanks!


It's located here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{<GUID FOR YOUR NETWORK INTERFACE>}\DhcpIPAddress (it's a REG_SZ value). You'll find lots of other interface information here, updated every time the interface is refreshed (automatically or manually).

  • Author

cheers, i was actually looking in there but didnt check the parameters tree lol mmm....how would one pull this info out? also how would i know which interface id it was, without actually going through the list?

P.S Sorry about the additional questions :blushing:

Edited by phiban

These commands can tell you the adaptor and IP Address without you looking up the CLSIDs in the registry.

ipconfig

systeminfo

wmic nicconfig GET Description , IPAddress

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.