A Unique ID

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We know, C#, generate a Unique ID, for each visual element incorporate to its form. I need to create a unique ID to name my files, how can I do that, without have to create my own algorithm

I hope somebody can help me, thanks in advantage.
 
Hi Hector,

What about GUIDs?

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Hector Martinez said:
We know, C#, generate a Unique ID, for each visual element
incorporate to its form. I need to create a unique ID to name my files, how
can I do that, without have to create my own algorithm.
 
Hector said:
We know, C#, generate a Unique ID, for each visual element
incorporate to its form. I need to create a unique ID to name my
files, how can I do that, without have to create my own algorithm.

I hope somebody can help me, thanks in advantage.

System.Guid.NewGuid.ToString()

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
 
Back
Top