|
-
Jan 24th, 2007, 09:34 AM
#5
Re: MAC address of server returns "Access Denied"
 Originally Posted by lidds
I have tried your code but unfortunately it does not seem to work on the server but does work on my computer, maybe it is another security issue.
It throws an error 'Object reference not set to an instance of an object'
Thanks
Simon
I use this code to get the MAC address of the systems on my LAN (both servers and client PCs)... I works everytime. I never had any problem with it.
So I really don't know why it doesn't work for you.... Can you verify this: open command prompt and type in "nbtstat -a serverName" or "nbtstat -A xxx.xxx.xxx.xxx" (where xxx.xxx.xxx.xxx is the IP address of the server) then press enter key. If the command runs successfully then the problem is from somewhere else, not from the code I showed you.
Last edited by stanav; Jan 24th, 2007 at 09:44 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|