16700
asked on
serial number of harddisk
how can we get serial number of harddisk in vb.net 2005 and computer id or a mac address
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thankx.
For MAC address, you can retrieve the list of MACs this way:
List<string> Nics = new List<string>();
NetworkInterface[] adapters = NetworkInterface.GetAllNet
foreach (NetworkInterface nic in adapters)
{
NetworkInterfaceType type= nic.NetworkInterfaceType;
if (type!= NetworkInterfaceType.Loopb
{
this.Nics.Add(nic.GetPhysi
}
}