diff --git a/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs b/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs index 715fc41d..17507425 100644 --- a/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs +++ b/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs @@ -25,6 +25,7 @@ */ using System; +using System.Collections; using System.Collections.Generic; using libsecondlife; @@ -93,8 +94,8 @@ namespace IA_SimpleInventory // Get Root Inventory Folder UUID Console.WriteLine("Pulling root folder UUID from login data."); - List alInventoryRoot = (List)client.Network.LoginValues["inventory-root"]; - Dictionary htInventoryRoot = (Dictionary)alInventoryRoot[0]; + ArrayList alInventoryRoot = (ArrayList)client.Network.LoginValues["inventory-root"]; + Hashtable htInventoryRoot = (Hashtable)alInventoryRoot[0]; LLUUID agentRootFolderID = new LLUUID((string)htInventoryRoot["folder_id"]); // Initialize Inventory Manager object