I've got some code which returns the MAC addresses of each network card. My problem is finding a way to return that information to a workstation, since it will be the workstation which wants to know the MAC address of the server (for use in an Activation process to test whether the activation code is associated with the hardware - since each workstation will have a different MAC address, the only 'constant' on the network will be the MAC address of the server).
At the moment I've got an EXE on the server which the workstation executes, the EXE writes the MAC address of the server's network card into a file in the same folder as the EXE and the workstation then reads that file. However this fails when, as is typical, the user doesn't have file-write access to the server. I want to avoid system administrators having to grant read-write access to the folder for every user.
What mechanism can I use to pull information from the server without writing it to a file on the server? Can I pass something to the EXE on the server which would allow it to write back to a file on the workstation, or into the registry on the workstation?
- Andy
___________________________________________________________________
If a man speaks in a forest and there are no women around to hear him - will he still be wrong?
At the moment I've got an EXE on the server which the workstation executes, the EXE writes the MAC address of the server's network card into a file in the same folder as the EXE and the workstation then reads that file. However this fails when, as is typical, the user doesn't have file-write access to the server. I want to avoid system administrators having to grant read-write access to the folder for every user.
What mechanism can I use to pull information from the server without writing it to a file on the server? Can I pass something to the EXE on the server which would allow it to write back to a file on the workstation, or into the registry on the workstation?
- Andy
___________________________________________________________________
If a man speaks in a forest and there are no women around to hear him - will he still be wrong?