how to get more detail while enum the network adapters?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



hi all,
I try to use the shell32 to enum the network adapters that installed on
my computer, it works, but I want to get more details about them, such as
the device's type, device's name ..., how shall I do else?
I use the code as follow:

const string folderPathStr = "{7007ACC7-3202-11D1-AAD2-00805FC1270E}";

Shell32.Shell sh = new Shell32.Shell();
Shell32.Folder folder;

folder = sh.NameSpace(3);
try
{
foreach (Shell32.FolderItem myItem in folder.Items())
{
if (myItem.Path.ToString().IndexOf(folderPathStr) > -1)
{
Shell32.Folder fd = (Folder)myItem.GetFolder;
foreach (Shell32.FolderItem fi in fd.Items())
....


best regards,

Ari


.



Relevant Pages

  • Re: Creating Dir on XP
    ... but perhaps calling the SHChangeNotify Win32 API ... Public Enum SHCN_EventIDs ... folder have changed. ... 'Flushes the system event buffer. ...
    (microsoft.public.vb.general.discussion)
  • Re: Iterate through enum of system.drawing.color
    ... I'm trying to iterate through an enum of Colors. ... I just have a foreach inside a button event handler: ... foreach (System.Drawing.Color c in myColor) ... There are two reasons that won't work, and one of those reasons is the same reason you can't enumerate the names with a Color variable. ...
    (microsoft.public.dotnet.languages.csharp)
  • Using a custom attribute in aspx pages
    ... Public Class SomeClass ... ... Using reflection, I am able to find all attributes within the App_Code ... foreach { ... because they don't reside within the App_code folder, ...
    (microsoft.public.dotnet.languages.csharp)
  • Iterate through enum of system.drawing.color
    ... I'm trying to iterate through an enum of Colors. ... enum myColor; ... I just have a foreach inside a button event handler: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Iterate through enum of system.drawing.color
    ... I'm trying to iterate through an enum of Colors. ... I just have a foreach inside a button event handler: ... Enum.GetNamesreturns an array of string. ...
    (microsoft.public.dotnet.languages.csharp)