title: Get Assets Folder and create a Folder in Assets Folder and create a file in create Folder using windows 8
body: <pre><code>StorageFolder InstallationFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
  StorageFile file = await InstallationFolder.CreateFileAsync("MyDocument.Txt", CreationCollisionOption.ReplaceExisting);
  await FileIO.WriteTextAsync(file, "Hello");
  </code></pre>
  
  <p>The error is:</p>
  
  <p>An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll but was not handled in user code</p>
  
  <p>Additional information: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))</p>
  
  <p>If there is a handler for this exception, the program may be safely continued.</p>