how to get more detail while enum the network adapters?
- From: "Ari" <aiirii@xxxxxxxx>
- Date: Fri, 21 Oct 2005 21:33:59 +0800
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
.
- Prev by Date: Re: FFT, I seeking source code for waveform tranformation into FFT spectrum
- Next by Date: Re: How to extend an enum
- Previous by thread: Re: FFT, I seeking source code for waveform tranformation into FFT spectrum
- Next by thread: Re: how to get more detail while enum the network adapters?
- Index(es):
Relevant Pages
|