public static async void ShowFileBrowser()
{
try
{
Context.AppTalkWindowManager.CloseTalkWindow();
IApplicationAgent fileBrowserAgent = Context.AppAgentMgr.GetAgentByName("FileBrowser Agent");
if (fileBrowserAgent == null)
{
return;
}
fileBrowserAgent.GetInvoker().SetValue("AutoLaunchFile", true);
await Context.AppAgentMgr.ActivateAgent(fileBrowserAgent as IFunctionalAgent);
}
catch (Exception ex)
{
Log.Debug(ex.ToString());
}
}