fetcher: simplfy ID generation

This commit is contained in:
Hylke Bons 2012-07-08 11:29:00 +02:00
parent 015ad00a25
commit afe0a0c5fd

View file

@ -231,10 +231,8 @@ namespace SparkleLib {
public static string CreateIdentifier ()
{
Random random = new Random ();
string number = "" + random.Next () + "" + random.Next () + "" + random.Next ();
return SparkleHelpers.SHA1 (number);
string random = Path.GetRandomFileName ();
return SparkleHelpers.SHA1 (random);
}