I'm trying to use WMI in a VB .NET project to get information about files in a directory, specifically how many there are and the file sizes. The code to get the information is fairly standard but I cannot find a way to use WMI to authenticate to the domain and get the directory info using those credentials. I've hunted around for a way to do it but I can't seem to find anything.
Is anyone able to point me in the right direction at all?
Question
Benjo85au
Hi all,
I'm trying to use WMI in a VB .NET project to get information about files in a directory, specifically how many there are and the file sizes. The code to get the information is fairly standard but I cannot find a way to use WMI to authenticate to the domain and get the directory info using those credentials. I've hunted around for a way to do it but I can't seem to find anything.
Is anyone able to point me in the right direction at all?
Regardz :)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts