Click here to Skip to main content
15,912,897 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: Getting hardware info Pin
alex__b16-Oct-08 4:39
professionalalex__b16-Oct-08 4:39 
GeneralRe: Getting hardware info Pin
Dan Neely16-Oct-08 3:52
Dan Neely16-Oct-08 3:52 
QuestionIs there any definite range for index of an network adapter? Pin
an8913-Oct-08 2:31
an8913-Oct-08 2:31 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak13-Oct-08 3:51
mveDave Kreskowiak13-Oct-08 3:51 
QuestionRe: Is there any definite range for index of an network adapter? Pin
an8913-Oct-08 17:43
an8913-Oct-08 17:43 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak14-Oct-08 1:09
mveDave Kreskowiak14-Oct-08 1:09 
QuestionRe: Is there any definite range for index of an network adapter? Pin
an8914-Oct-08 1:50
an8914-Oct-08 1:50 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak14-Oct-08 2:04
mveDave Kreskowiak14-Oct-08 2:04 
an89 wrote:
number for ethernet is genearlly 2,3etc and for wireless its 65530


That's the wrong way to go about it. You have to query each adapter to get it's type.

You don't say what you're using to get the adapters list. I'll suggest using WMI to make it real easy to tell the difference. Check out the Win32_NetworkAdapter[^] class.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionRe: Is there any definite range for index of an network adapter? Pin
an8914-Oct-08 2:50
an8914-Oct-08 2:50 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak14-Oct-08 4:12
mveDave Kreskowiak14-Oct-08 4:12 
QuestionRe: Is there any definite range for index of an network adapter? Pin
an8914-Oct-08 17:51
an8914-Oct-08 17:51 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak15-Oct-08 1:32
mveDave Kreskowiak15-Oct-08 1:32 
QuestionRe: Is there any definite range for index of an network adapter? Pin
an8915-Oct-08 18:17
an8915-Oct-08 18:17 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak16-Oct-08 2:18
mveDave Kreskowiak16-Oct-08 2:18 
QuestionRe: Is there any definite range for index of an network adapter? Pin
an8916-Oct-08 2:49
an8916-Oct-08 2:49 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak16-Oct-08 7:04
mveDave Kreskowiak16-Oct-08 7:04 
QuestionRe: Is there any definite range for index of an network adapter? Pin
an8916-Oct-08 19:52
an8916-Oct-08 19:52 
AnswerRe: Is there any definite range for index of an network adapter? Pin
Dave Kreskowiak17-Oct-08 1:53
mveDave Kreskowiak17-Oct-08 1:53 
QuestionCD DVD Drive problem Pin
Dalek Dave12-Oct-08 5:21
professionalDalek Dave12-Oct-08 5:21 
AnswerRe: CD DVD Drive problem Pin
User 171649212-Oct-08 8:18
professionalUser 171649212-Oct-08 8:18 
GeneralRe: CD DVD Drive problem Pin
Dalek Dave12-Oct-08 9:07
professionalDalek Dave12-Oct-08 9:07 
QuestionHow to hook device( Disk) Io? Pin
kcynic11-Oct-08 17:20
kcynic11-Oct-08 17:20 
QuestionHDD Serial number Pin
sasan5610-Oct-08 4:47
sasan5610-Oct-08 4:47 
AnswerRe: HDD Serial number Pin
Dave Kreskowiak10-Oct-08 5:19
mveDave Kreskowiak10-Oct-08 5:19 
QuestionSupporting Two USB mice on a single computer Pin
K. N. Nair8-Oct-08 1:31
K. N. Nair8-Oct-08 1:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.