Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


GetVolumeInformation API


GetVolumeInformation API

Author
Message
Andy
Andy
Forum God
Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)

Group: Forum Members
Posts: 56, Visits: 36

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

Mark
Mark
Forum God
Forum God (144K reputation)

Group: Moderators
Posts: 1.1K, Visits: 11K

Have you tried '\\ServerName\C$\' as your path?

NOTE then trailing backslash on the path


Andy
Andy
Forum God
Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)Forum God (7.7K reputation)

Group: Forum Members
Posts: 56, Visits: 36

yep... I have tried;

'\\ServerName\C$\'

'\\ServerName\C$'

'\\ServerName\C\'

'\\ServerName\C'

'\\ServerName\C:\'

'\\ServerName\C:'

Running out of options I think...



Enjoy

A

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search