<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to get the MAC address of your network adapter.</title>
	<atom:link href="http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/feed/" rel="self" type="application/rss+xml" />
	<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/</link>
	<description>Gold mine of Visual C++ tricks!</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:07:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Just Another Developer</title>
		<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/comment-page-1/#comment-114</link>
		<dc:creator>Just Another Developer</dc:creator>
		<pubDate>Thu, 26 Mar 2009 18:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=132#comment-114</guid>
		<description>BTW, your params for calling GetAdapterInfo() is backwards.   Maybe you should test your code before posting?

DWORD GetAdaptersInfo(
  __out    PIP_ADAPTER_INFO pAdapterInfo,
  __inout  PULONG pOutBufLen
);</description>
		<content:encoded><![CDATA[<p>BTW, your params for calling GetAdapterInfo() is backwards.   Maybe you should test your code before posting?</p>
<p>DWORD GetAdaptersInfo(<br />
  __out    PIP_ADAPTER_INFO pAdapterInfo,<br />
  __inout  PULONG pOutBufLen<br />
);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Just Another Developer</title>
		<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/comment-page-1/#comment-113</link>
		<dc:creator>Just Another Developer</dc:creator>
		<pubDate>Thu, 26 Mar 2009 18:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=132#comment-113</guid>
		<description>In the 15 years of C++ development, I&#039;ve never seen the NIC Name show up under AdapterName property.  It&#039;s always shown up under Description.</description>
		<content:encoded><![CDATA[<p>In the 15 years of C++ development, I&#8217;ve never seen the NIC Name show up under AdapterName property.  It&#8217;s always shown up under Description.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jijo.Raj</title>
		<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/comment-page-1/#comment-112</link>
		<dc:creator>Jijo.Raj</dc:creator>
		<pubDate>Wed, 04 Mar 2009 16:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=132#comment-112</guid>
		<description>Hello Prasanna,

Check this link for getting the active IP address(es) of your machine - http://bobmoore.mvps.org/Win32/w32tip19.htm.

And IP_ADAPTER_INFO.CurrentIpAddress contains the active IP of the adapter. So loop through all adapter info and get the active adapter and there by you can get the mac address of active adapter.

Well, keep in mind that, a PC can have multiple adapter and multiple IP addresses configured at same time. That does mean that there can be multiple active MAC addresses. Hope it helps you.

Regards,
Jijo.</description>
		<content:encoded><![CDATA[<p>Hello Prasanna,</p>
<p>Check this link for getting the active IP address(es) of your machine &#8211; <a href="http://bobmoore.mvps.org/Win32/w32tip19.htm" rel="nofollow">http://bobmoore.mvps.org/Win32/w32tip19.htm</a>.</p>
<p>And IP_ADAPTER_INFO.CurrentIpAddress contains the active IP of the adapter. So loop through all adapter info and get the active adapter and there by you can get the mac address of active adapter.</p>
<p>Well, keep in mind that, a PC can have multiple adapter and multiple IP addresses configured at same time. That does mean that there can be multiple active MAC addresses. Hope it helps you.</p>
<p>Regards,<br />
Jijo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prasanna</title>
		<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/comment-page-1/#comment-111</link>
		<dc:creator>prasanna</dc:creator>
		<pubDate>Wed, 04 Mar 2009 10:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=132#comment-111</guid>
		<description>Hello,

Sometimes, this mac address is returning morethan one mac id. Then how should i find in them which is the active macid

Regards
Prasanna</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Sometimes, this mac address is returning morethan one mac id. Then how should i find in them which is the active macid</p>
<p>Regards<br />
Prasanna</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin</title>
		<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/comment-page-1/#comment-110</link>
		<dc:creator>Sachin</dc:creator>
		<pubDate>Sun, 19 Oct 2008 06:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=132#comment-110</guid>
		<description>Ananth, you need to download the Microsoft SDKs which is not included in the Visual C++ 6, that contains new libraries, headers for VC++ 6.</description>
		<content:encoded><![CDATA[<p>Ananth, you need to download the Microsoft SDKs which is not included in the Visual C++ 6, that contains new libraries, headers for VC++ 6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ananth</title>
		<link>http://weseetips.com/2008/05/24/how-to-get-the-mac-address-of-your-network-adapter/comment-page-1/#comment-109</link>
		<dc:creator>Ananth</dc:creator>
		<pubDate>Sat, 20 Sep 2008 05:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=132#comment-109</guid>
		<description>Hello,
From where can I get Iphlpapi.h and Iphlpapi.lib? I am using VC++ 6.0.

Regards
Ananth</description>
		<content:encoded><![CDATA[<p>Hello,<br />
From where can I get Iphlpapi.h and Iphlpapi.lib? I am using VC++ 6.0.</p>
<p>Regards<br />
Ananth</p>
]]></content:encoded>
	</item>
</channel>
</rss>
