WindowsDevicePortalWrapper icon indicating copy to clipboard operation
WindowsDevicePortalWrapper copied to clipboard

Add blocking parameter to reboot API call

Open hpsin opened this issue 9 years ago • 4 comments

DevicePortal.Reboot signature should be modified to Reboot(bool blocking=false), where if blocking ==true, the wrapper pings in the background until the device is updated, at which point the function returns.

hpsin avatar Sep 01 '16 22:09 hpsin

there should also be a max time to wait parameter as well. the signature for this feature could turn into: RebootAndWait(TimeSpan maxTimeToWait).

david-c-kline avatar Sep 01 '16 22:09 david-c-kline

I like the idea of a RebootAndWait API.

WilliamsJason avatar Sep 01 '16 23:09 WilliamsJason

@hpsin , @WilliamsJason Do we still want this? The Windows Mixed Reality Commander (from https://github.com/Microsoft/HoloLensCompanionKit) performs device reboots and uses a periodic heartbeat to determine if the device has restarted.

david-c-kline avatar Jun 03 '17 04:06 david-c-kline

Yes, I think this would be a good thing.

hpsin avatar Jun 05 '17 18:06 hpsin