Click here to Skip to main content
14,271,317 members
Rate this:
Please Sign up or sign in to vote.
See more:

Now i am doing a desktop application, In which i have to construct GUID. Eventhough having a built-in function in our VB.NET like "System.Guid.NewGuid.ToString()" to get GUID, I need to create the GUID in 30 digits in the below mentioned criteria through

Application constructs the GUID (30 digits) using the information from the 5 different sources. The different sources are Current system time, millisecond of the system time, Process ID for the application, system physical memory status and finally the group object identifier number.

8 digits 4 digits 8 digits 8 digits 2 digits
System Time Millisecond Process ID Memory status Group Identifier


Current Time + Millisecond + Process ID + memory status + Condition ID.
“104a340e”+”00a4”+”000023a5”+”b657c410”+”09” = “104a340e00a4000023a5b657c41009”

Now, I have the last attribute "Group identifier"(2digits) in my hand.

I have to create the other items (System Time,Millisecond,Process ID and Memory status) using Is there any built in functions available in to create them?

I am not sure how to get the above values to construct the GUID? Can anyone help me to achieve this. This will be more helpful for me.

Sivakumar IRIAD

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

You probably would not have been asked to do this, if there were not built in ways to do this.

So don't be so lazy, learn to use a search engine. I'll even help with the first one.

Search on system time

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100