Filenames in string array c# Universal Windows
<p>I am  developing an Universal Windows Platform app.
To continue i need the filenames from all files in one folder into a string array.
The get files Method doesnt work in UWP. I tried around with The Filepicker and Storagefolder but I dont know how to get it into a string array.</p>

<pre><code>// C#
FolderPicker picker= new FolderPicker();
picker.FileTypeFilter.Add("*"); StorageFolder x = await picker.PickSingleFolderAsync();

Windows.Storage.AccessCache.StorageApplicationPermissions.FutureAccessList.AddOrReplace("PickedFolderToken", x);
string[] files = Directory.GetFiles(@"path\to\Assets");
textBlock.Text = files.Length.ToString();  
</code></pre>