|
-
June 4th, 2008, 10:33 AM
#1
[RESOLVED] Random string
¿there are already some function in .NET which returns a random string?
(Is better if it contains chars which humans do not use frequently, like ╚)
maybe there are some to generate random keys.
this generate random paths:
System.IO.Path.GetRandomFileName() As String
for example, it returns:"gdhxyjvj.fnf"
Is the best I have, but I would like less usual chars, and I are being lazy to write a random routine.
An obscure class is System.Security.Cryptography. Looks promising, but I can't locate a random string function.
_
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|