WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > IpConfig plugin
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
jpderuiter
Senior Member

Registered: Feb 2007
From:

IpConfig plugin

I created a plugin that could query all kinds of network info using WMI calls.
At first I tried to use the WmiInspector plugin, but not all info could be retrieved (mainly because arrays are not supported in this plugin).
Instead of adapting this plugin I decided to make a new plugin based on the WmiInspector plugin, with dedicated functions.
You can find the plugin, info and examples here:
http://nsis.sourceforge.net/IpConfig_plugin

The info you can retrieve is mainly the same info you can get using the MS shell command ipconfig /all.
Additionally you can request a Network adapter ID from some parameters, like IP address or MAC address.
You can use this to get for example the MAC address for a given IP address.

Because each request starts a new WMI request, retrieving a lot of info makes the installer slow
(like with the IpConfig /all example).
But since most of the time only one type of info is required, this shouldn't be a problem.

A Unicode version is included as well.

JPdeRuiter

Quick Link | Report this post to a moderator | IP: Logged

jpderuiter is offline Old Post 06-24-2009 07:21 PM
Click Here to See the Profile for jpderuiter Click here to Send jpderuiter a Private Message Find more posts by jpderuiter Add jpderuiter to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:19 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > IpConfig plugin
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON