A
Ari
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
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