VB (Visual Basic)

Its easy to make GUIDs in VB.NET. Below is clean code to get GUIDs. When the .NET CLR creates GUIDs or UUIDs they are version 4 guids. Where a '4' begins the third group of digits.

Dim myGuid As String = Guid.NewGuid().ToString()

*Claims to conform to RFC 4122 GUID specification when possible*