private void LoadDrivesOrDirectories(string currentTitle)
{
using(var wc = new WebClient())
{
wc.OpenReadCompleted += ChildrenReadCompleted;
Uri webUri;
if(string.IsNullOrEmpty(currentTitle) || currentTitle.Equals("/"))
{
webUri = GetDriveUri();
}
else
{
webUri = GetDirectoryUri(currentTitle);
}
wc.OpenReadAsync(webUri);
}
}