By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 1,942 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

Token generator

P: n/a
Hi all,
What is the best way to generate unique token in C#?

I need it to generate a unique link like:

http://my_page_url+token

after clinking on which, the form of changing user password will be
appeared.

Sep 22 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
System.Guid.NewGuid().ToString() should be quite unique. :-)

<ma***@o2.plwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi all,
What is the best way to generate unique token in C#?

I need it to generate a unique link like:

http://my_page_url+token

after clinking on which, the form of changing user password will be
appeared.

Sep 22 '06 #2

P: n/a
Kb
Probably you could use GUID
ma***@o2.pl wrote:
Hi all,
What is the best way to generate unique token in C#?

I need it to generate a unique link like:

http://my_page_url+token

after clinking on which, the form of changing user password will be
appeared.
Sep 22 '06 #3

P: n/a
Thanks you all. This is exactly what I was looking for.

Sep 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.