Exemplo n.º 1
0
        /// <summary>
        /// Refreshes the packages.
        /// </summary>
        public void RefreshPackages()
        {
            if (this.Device.IsOffline)
            {
                throw new IOException("Device is offline");
            }

            PackageManagerReceiver pmr = new PackageManagerReceiver(this.Device, this);

            this.Device.ExecuteShellCommand(PM_LIST_FULL, pmr);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Refreshes the packages.
        /// </summary>
        public void RefreshPackages( )
        {
            if ( this.Device.IsOffline ) {
                throw new IOException ( "Device is offline" );
            }

            PackageManagerReceiver pmr = new PackageManagerReceiver ( this.Device, this );
            this.Device.ExecuteShellCommand ( PM_LIST_FULL, pmr );
        }