mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	Premier test pdf ok
This commit is contained in:
		
							parent
							
								
									6ed9f0ebb7
								
							
						
					
					
						commit
						96d7c1c597
					
				
					 16 changed files with 2914 additions and 2502 deletions
				
			
		|  | @ -89,5 +89,24 @@ namespace AideDeJeu.UWP | |||
|             return newVersion > oldVersion; | ||||
|         } | ||||
| 
 | ||||
|         public async Task SaveStreamAsync(string filename, Stream stream) | ||||
|         { | ||||
|             using (var outStream = CreateStream(filename)) | ||||
|             { | ||||
|                 await stream.CopyToAsync(outStream); | ||||
|             } | ||||
|         } | ||||
|         public Stream CreateStream(string filename) | ||||
|         { | ||||
|             var documentsDirectoryPath = Windows.Storage.ApplicationData.Current.LocalCacheFolder.Path; | ||||
|             var filepath = Path.Combine(documentsDirectoryPath, filename); | ||||
|             return new FileStream(filepath, FileMode.Create); | ||||
|         } | ||||
| 
 | ||||
|         //public void OpenFileExternal(string filename) | ||||
|         //{ | ||||
| 
 | ||||
|         //} | ||||
| 
 | ||||
|     } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez