Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Go Back  Xtreme Visual Basic Talk > > > Tell the difference between a 802.11 and 802.3AE


Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2010, 04:33 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default Tell the difference between a 802.11 and 802.3AE


How can I target a Adapter I have on the machine and Tell through windows API if its a Wireless or Hardwired Ethernet Adapter?

I really want to avoid doing anything real High level like piping Command prompt text XD. Thanks!

-Agent
__________________
Http://ControllingTheInter.Net
My General Computer Forum, From Security To Programming And Back To Troubleshooting.
Reply With Quote
  #2  
Old 07-02-2010, 11:43 AM
PlausiblyDamp's Avatar
PlausiblyDampTell the difference between a 802.11 and 802.3AE PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default

Using WMI you could get access to all the network adapters - each one will return a Win32_NetworkAdapter object - this exposes an AdapterType property and more usefully a AdapterTypeID property which will tell you the type.

Sorry for not giving a more solid example but I really dislike writing WMI stuff in VB, give me powershell any day for that task.
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote
  #3  
Old 07-02-2010, 08:47 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Thanks alot Expert!
I really really don't want to use WMI though... I really don't...
Do you by any chance know of a API to pull the Physical type by any chance?
__________________
Http://ControllingTheInter.Net
My General Computer Forum, From Security To Programming And Back To Troubleshooting.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
 
Tell the difference between a 802.11 and 802.3AE
Tell the difference between a 802.11 and 802.3AE
 
-->