mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 09:09:25 +08:00 
			
		
		
		
	Uses Environment.TickCount for seed instead of DateTime.Now
This commit is contained in:
		 Phil Scott
					Phil Scott
				
			
				
					committed by
					
						 Patrik Svensson
						Patrik Svensson
					
				
			
			
				
	
			
			
			 Patrik Svensson
						Patrik Svensson
					
				
			
						parent
						
							c765bbd0dd
						
					
				
				
					commit
					9204671b27
				
			| @@ -9,7 +9,7 @@ namespace Spectre.Console | ||||
|  | ||||
|         public AnsiLinkHasher() | ||||
|         { | ||||
|             _random = new Random(DateTime.Now.Millisecond); | ||||
|             _random = new Random(Environment.TickCount); | ||||
|         } | ||||
|  | ||||
|         public int GenerateId(string link, string text) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user