ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / StreamLayer Class / IsStreamingConnectionOpen Property
Example

IsStreamingConnectionOpen Property
Gets whether this StreamLayer's streaming connection is open (started).
Syntax
public bool IsStreamingConnectionOpen {get;}
Example
Check the Stream Layer connection state
if (!streamLayer.IsStreamingConnectionOpen)
  //Must be on QueuedTask!
  streamLayer.StartStreaming();
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.4 or higher.
See Also