public static class DesktopNetworkStatus Network status for hosts and platforms without a provider.
Methods
Unavailable
public static IDesktopNetworkStatus Unavailable(PlatformUnavailableReason reason) Creates network status that reports every read unavailable for reason.
Exceptions
ArgumentOutOfRangeExceptionreasonis not defined.
Remarks
IDesktopNetworkStatus.WatchAsync reports that value once and then waits for cancellation or disposal. Nothing throws except caller cancellation and use after disposal.