Skip to content

Instantly share code, notes, and snippets.

View derikwhittaker's full-sized avatar

Derik Whittaker derikwhittaker

View GitHub Profile
private const string BaseFilePath = "JsonSerialization/json/";
public async static Task<string> DirectorySearchJson()
{
return await ReadFile(BaseFilePath + "DirectorySearchResults.json.txt");
}
private async static Task<string> ReadFile(string fileName)
{
var jsonFile = Path.Combine(Package.Current.InstalledLocation.Path, fileName);