MatthewKing / DeviceId

A simple library providing functionality to generate a 'device ID' that can be used to uniquely identify a computer.
MIT License
785 stars 118 forks source link

[feature] add a static method for simple and quick use #18

Closed abdeldjalil-fellah closed 3 years ago

abdeldjalil-fellah commented 4 years ago

adding this static method:

DeviceId.FingerPrint(systemUUID: true, processorId: true, motherboardSN: true, hashAlgo: DeviceIdHashAlgorithms.MD5, separatorChar: ":", separatorEveryChars: 4)

to output:

5C7D:0C90:CF9E:0CE5:6095:6179:E8E8:2E7D

HashAlgorithms.None (plain) HashAlgorithms.MD5 HashAlgorithms.SHA1 HashAlgorithms.SHA256

would be more practical in usage.