Since I can only guess what you're driving at I'll point you to a source that demonstrates how to calculate an identifier that is more or less unique. All that is left for you to do is create a library project and put the functionality inside which you find on this site here:
C# Generate Unique Hardware ID[
^].
On the above mentioned site you'll also find some source code to download. That should help you gather some ideas.
Happy coding!
-MRB