vb.net - Is System.Guid.NewGuid.ToString the best solution? -


i developing windows form application in vb .net 4.0 , need generate strings unique during life of application. have come across function "system.guid.newguid.tostring" seems solve problem, have read there still can "collisions" time time.

i use global counter variable, have had parameter scope issues in past , stay away if possible.

any suggestions appreciated.

the probability of collision low generate millions of guids second , approach 1% collision chance after several (hundred) years.

this seems acceptable solution me.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -