how to get hard disk serial number in c#
I am using C# .net framework 1.1.I want to protect my software for copyright so i decided to put check on hard disk serial number which is unique for every hard disk.
can anybody help me or provide me code to get serial number of hard disk.
i have code to get access to volume serial number of hard disk but im not sure that the volume number of hard disk is different for every hard disk. if it uses H.D serial prefix in volume number then its ok.
please reply me its urgent.