themanfalconar
Technical User
Hi there,
Is there a way to check the NetBIOS connections of a particular host (using its hostname)? I'm writing an application that does the following:
1. Queries our user database to find the hostnames associated with that user.
2. Checks the NetBIOS connections of those hosts to see if the user has an active NetBIOS connection.
[by the way, this app runs on Windows only]
At present, the only way I can think of doing this is to execute 'nbtstat -a hostname > tempfile.tmp' as a system command within the Java app, then parse the tempfile and attempt to match the username with the text in the file.
I think that this is a pretty shabby way of doing it, and so I'm wondering if any of you guys/gals can think of a better way.
Many thanks in advance,
Dan
Is there a way to check the NetBIOS connections of a particular host (using its hostname)? I'm writing an application that does the following:
1. Queries our user database to find the hostnames associated with that user.
2. Checks the NetBIOS connections of those hosts to see if the user has an active NetBIOS connection.
[by the way, this app runs on Windows only]
At present, the only way I can think of doing this is to execute 'nbtstat -a hostname > tempfile.tmp' as a system command within the Java app, then parse the tempfile and attempt to match the username with the text in the file.
I think that this is a pretty shabby way of doing it, and so I'm wondering if any of you guys/gals can think of a better way.
Many thanks in advance,
Dan