I\'m trying to get a listing of all the folders for a signed in user on SkyDrive.
LiveOperationResult operationResult = await client.GetAsync(\"me/skydrive/file
The problem is that LiveOperationResult.Result isn't necessarily guaranteed to be a Dictionary
. It is however defined as an IDictionary
.
Mind you, you don't appear to even need to cast the Result
property to a dictionary of any sort; you should be able to use the dynamic
variable to directly access the list you want to iterate.
List