/// <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); }
/// <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 ); }