public async Task <WindowsProcess[]> ReadWindowsProcessDynamicDataAsync(
            WpfObservableRangeCollection <WindowsProcess> windowsProcessDynamicObservableCollection,
            WorkstationMonitorServiceClient workstationMonitorServiceClient,
            CancellationToken cancellationToken)
        {
            WindowsProcess[] result = await workstationMonitorServiceClient.ReadWindowsProcessDynamicDataAsync();

            if (result != null && !cancellationToken.IsCancellationRequested)
            {
                windowsProcessDynamicObservableCollection.ReplaceRange(result);
            }

            return(result);
        }