The GUID is a alphanumeric identifier used to indicate the unique installation of a product. Guids are used in many popular software applications, such as web browsers and media players.
The GUID format is "XXXXXXXX-XXXX-xxxxxxxxxxxx", where each X is a hexadecimal number in the range of 0-9 or a-f. For example, 6f9619ff-8b86-d011-b42d-00c04fc964ff is a valid guid value.
Why use guid?
No two computers in the world will generate duplicate guid values. GUID is used to assign a unique identifier to a network or system with multiple nodes and computers. On Windows, GUID is widely used: Registry, class and interface identifiers, databases, and even automatically generated machine names and directory names.
Implementation of ASP generation of Gudi
<%
Dim objtypelib
Set objtypelib = Createobject ("scriptlet. typelib ")
Response. Write objtypelib. guid
%>
Both the local host and the network host pass the test.
Related Articles:
Microsoft technet-Hello, script expert!
Pure technical point of view: Use the guid value as the database row identifier
Jun. Net: the trade-off between guid and INT as System Numbers