Create Microsoft GUID without network card

Take a look at the link below:

http://msdn.microsoft.com/en-us/library/ms190215.aspx

As indicated above, NEWID() will consist of the ID of the network card, but what happens if the computer does not have a network card?

Will this NEWID() generate a number?

+6
source share
1 answer

Only the old V1 identifiers used the network card identifier until it was used by a particularly unpleasant virus, and Microsoft decided to move the concept to a more modern idea.

Windows now uses a specially designed pseudo random number generator. See the following URLs for more information:

http://en.wikipedia.org/wiki/Globally_unique_identifier#Algorithm
http://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_.28MAC_address.29

+2
source

Source: https://habr.com/ru/post/899526/


All Articles