| 
						
						
							
								
							
						
						
					 | 
					@ -963,6 +963,15 @@ namespace Apewer | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        #region 注册表。
 | 
					 | 
					 | 
					        #region 注册表。
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        /// <summary>获取当前用户 Downloads 目录的路径。</summary>
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        public static string GetDownloadsDirectory() | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            const string key = @"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            const string name = "{374DE290-123F-4565-9164-39C4925E467B}"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            var value = RegistryHelper.GetString(RegistryHelper.CurrentUser, key, name); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            return value; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        /// <summary>获取用于记录卸载信息的注册表路径。</summary>
 | 
					 | 
					 | 
					        /// <summary>获取用于记录卸载信息的注册表路径。</summary>
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        public static string[] GetUnInstallPath() | 
					 | 
					 | 
					        public static string[] GetUnInstallPath() | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        { | 
					 | 
					 | 
					        { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |