ArcGIS Pro 2.9 API Reference Guide
IsDeviceConnected Method (DeviceLocationService)

ArcGIS.Desktop.Core.DeviceLocation Namespace > DeviceLocationService Class : IsDeviceConnected Method
Returns the connection status of the selected location source.
Syntax
public bool IsDeviceConnected()
Public Function IsDeviceConnected() As Boolean

Return Value

returns true if CurrentSource is connected; false if no connected.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

DeviceLocationService Class
DeviceLocationService Members