Beispiel #1
0
        public PortableDeviceFolder GetContents()
        {
            var root = new PortableDeviceFolder("DEVICE", "DEVICE");

            IPortableDeviceContent content;

            this._device.Content(out content);

            root.parentDevice = this;
            root.content      = content;

            root.RefreshContent();

            //EnumerateContents(this, ref content, root);

            return(root);
        }