Hi, I am using the GetVolumeInformation API call to retrieve the HDD serial number and this works fine on a local PC. I am led to believe that this can also be done with a server by specifying the network path to the root of the server HDD however when I try this I get an error I suspect because the server is not prepared to provide this information across a network for security reasons. The path I am using is; '\\ServerName\C$' Where ServerName is the name of the Server and C$ is the shared name of the C: on the server. If anyone has done this with any sort of success, I would love to know how. Alternatively, are there any other serial numbers or ID's that make a server unique to any other server that are readily available across a network. This is a genuine attempt at a security module, I am not trying to hack anyone or do anything malicious, rather I am trying to prevent it within an application I am working on. Any thoughts appreciated...
Enjoy A
|