fetcher: simplfy ID generation
This commit is contained in:
parent
015ad00a25
commit
afe0a0c5fd
|
@ -231,10 +231,8 @@ namespace SparkleLib {
|
||||||
|
|
||||||
public static string CreateIdentifier ()
|
public static string CreateIdentifier ()
|
||||||
{
|
{
|
||||||
Random random = new Random ();
|
string random = Path.GetRandomFileName ();
|
||||||
string number = "" + random.Next () + "" + random.Next () + "" + random.Next ();
|
return SparkleHelpers.SHA1 (random);
|
||||||
|
|
||||||
return SparkleHelpers.SHA1 (number);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue