mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	Uses Environment.TickCount for seed instead of DateTime.Now
This commit is contained in:
		
				
					committed by
					
						
						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