?
=?iso-8859-1?q?Magnus_T=F6rnvall?=
Hi!
I'm trying to write a program that can tell if a remote computer is
running Windows or not. The thing is, it have to go very fast, so I
don't want to "connect" to the computer.
My plan is to send a netbios request and if I get a response I know
it's probably a Windows machine.
The problem is that I can't use the Netbios function in NETAPI32.DLL,
because I can't "translate" the NCB struct to C#.
So, can someone either show me how to convert the struct to C# or tell
me of a better or alternate way of solving my problem?
I'm trying to write a program that can tell if a remote computer is
running Windows or not. The thing is, it have to go very fast, so I
don't want to "connect" to the computer.
My plan is to send a netbios request and if I get a response I know
it's probably a Windows machine.
The problem is that I can't use the Netbios function in NETAPI32.DLL,
because I can't "translate" the NCB struct to C#.
So, can someone either show me how to convert the struct to C# or tell
me of a better or alternate way of solving my problem?