Sign in to follow this  
Followers 0
Kyan

WMI object help, don't know how to open a class

3 posts in this topic

Hi, It's the first time I'm working with objects/classes

How do I get to this class: https://msdn.microsoft.com/en-us/library/system.net.dns(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2

I tried

$ODNS = ObjCreate("System.Net.Dns")
MsgBox(0,'',IsObj($ODNS))

but outputs "0" 

PS: Didn't find any script using System.Net.Dns in here :|


Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites



That is not WMI, it is .NET Framework interaction.

There seems to be a bunch of threads with people working on this, and I even found some that get the same results as you. I searched google with this:

site:autoitscript.com/forum .net class
This might be helpful?

'?do=embed' frameborder='0' data-embedContent>>

Search on your own and maybe you will find something... but I wonder what is it you are trying to ultimately accomplish?

Share this post


Link to post
Share on other sites

I'm trying to get every lan computer/phone connected to my wifi network name through System.Net.Dns.GetHostEntry(IP)

gethostbyaddr also works, but now is just for seeing what is the fastest :)


Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0