Redpoint.ProgressMonitor 2023.30.734

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Redpoint.ProgressMonitor --version 2023.30.734
                    
NuGet\Install-Package Redpoint.ProgressMonitor -Version 2023.30.734
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Redpoint.ProgressMonitor" Version="2023.30.734" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Redpoint.ProgressMonitor" Version="2023.30.734" />
                    
Directory.Packages.props
<PackageReference Include="Redpoint.ProgressMonitor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Redpoint.ProgressMonitor --version 2023.30.734
                    
#r "nuget: Redpoint.ProgressMonitor, 2023.30.734"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Redpoint.ProgressMonitor@2023.30.734
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Redpoint.ProgressMonitor&version=2023.30.734
                    
Install as a Cake Addin
#tool nuget:?package=Redpoint.ProgressMonitor&version=2023.30.734
                    
Install as a Cake Tool

Redpoint.ProgressMonitor

This library provides APIs for monitoring and reporting the progress of arbitrary operations in console applications.

Example

You can monitor an operation that uses a stream like so:

// Inject these services.
IProgressFactory _progressFactory;
IMonitorFactory _monitorFactory;

using (var stream = new FileStream(...))
{
    // Start monitoring.
    var cts = new CancellationTokenSource();
    var progress = _progressFactory.CreateProgressForStream(stream);
    var monitorTask = Task.Run(async =>
    {
        var consoleWidth = 0;
        try
        {
            consoleWidth = Console.BufferWidth;
        }
        catch
        {
            // Not connected to a console, e.g. output is
            // redirected.
        }

        var monitor = _monitorFactory.CreateByteBasedMonitor();
        await monitor.MonitorAsync(
            progress,
            null,
            (message, count) =>
            {
                if (consoleWidth != 0)
                {
                    // Emit the progress information in such a
                    // way that we overwrite the previous info
                    // reported to the console.
                    Console.Write($"\r{message}".PadRight(consoleWidth));
                }
                else
                {
                    // Emit onto a new line every 5 seconds. This
                    // callback is invoked every 100ms.
                    if (count % 50 == 0)
                    {
                        Console.WriteLine(message);
                    }
                }
            },
            cts.Token);
    });

    // e.g. hash the stream.
    byte[] hashBytes;
    using (var hasher = SHA256.Create())
    {
        hashBytes = await hasher.ComputeHashAsync(stream);
    }

    // Stop monitoring.
    cts.Cancel();
    try
    {
        await monitorTask;
    }
    catch (OperationCanceledException) { }

    // Emit a newline after our progress message.
    if (consoleWidth != 0)
    {
        Console.WriteLine();
    }
}
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Redpoint.ProgressMonitor:

Package Downloads
Redpoint.PackageManagement

Provides APIs for installing, upgrading and uninstalling packages with WinGet and Homebrew.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2025.1302.173 70 10/29/2025
2025.1302.116 68 10/29/2025
2025.1302.93 67 10/29/2025
2025.1301.273 67 10/28/2025
2025.1289.355 182 10/16/2025
2025.1288.1067 182 10/15/2025
2025.1288.939 178 10/15/2025
2025.1288.731 177 10/15/2025
2025.1288.643 189 10/15/2025
2025.1288.584 188 10/15/2025
2025.1287.261 194 10/14/2025
2025.1287.213 182 10/14/2025
2025.1286.369 198 10/13/2025
2025.1276.372 171 10/3/2025
2025.1253.415 196 9/10/2025
2025.1251.740 181 9/8/2025
2025.1249.408 126 9/6/2025
2025.1245.159 194 9/2/2025
2025.1241.1004 219 8/29/2025
2025.1241.337 235 8/29/2025
2025.1241.335 236 8/29/2025
2025.1239.82 236 8/27/2025
2025.1236.697 227 8/24/2025
2025.1235.897 122 8/23/2025
2025.1234.740 145 8/22/2025
2025.1234.625 154 8/22/2025
2025.1234.484 156 8/22/2025
2025.1234.426 164 8/22/2025
2025.1234.329 168 8/22/2025
2025.1234.304 172 8/22/2025
2025.1234.279 173 8/22/2025
2025.1234.210 179 8/22/2025
2025.1234.185 170 8/22/2025
2025.1234.108 185 8/22/2025
2025.1234.70 184 8/22/2025
2025.1233.957 189 8/21/2025
2025.1233.933 188 8/21/2025
2025.1233.915 186 8/21/2025
2025.1233.885 173 8/21/2025
2025.1233.764 193 8/21/2025
2025.1233.694 188 8/21/2025
2025.1233.677 191 8/21/2025
2025.1233.212 188 8/21/2025
2025.1233.74 182 8/21/2025
2025.1233.72 185 8/21/2025
2025.1233.28 182 8/21/2025
2025.1232.155 189 8/20/2025
2025.1232.154 185 8/20/2025
2025.1232.104 181 8/20/2025
2025.1232.102 184 8/20/2025
2025.1231.1026 190 8/19/2025
2025.1231.941 194 8/19/2025
2025.1231.499 182 8/19/2025
2025.1231.484 186 8/19/2025
2025.1231.297 186 8/19/2025
2025.1230.859 186 8/18/2025
2025.1228.220 120 8/16/2025
2025.1227.934 148 8/15/2025
2025.1227.904 144 8/15/2025
2025.1227.852 145 8/15/2025
2025.1227.816 150 8/15/2025
2025.1227.77 185 8/15/2025
2025.1226.857 193 8/14/2025
2025.1226.472 195 8/14/2025
2025.1226.163 197 8/14/2025
2025.1222.583 195 8/10/2025
2025.1222.562 193 8/10/2025
2025.1222.437 194 8/10/2025
2025.1222.425 179 8/10/2025
2025.1220.271 256 8/8/2025
2025.1220.225 252 8/8/2025
2025.1220.80 262 8/8/2025
2025.1219.568 267 8/7/2025
2025.1219.546 270 8/7/2025
2025.1219.514 265 8/7/2025
2025.1219.513 262 8/7/2025
2025.1219.511 260 8/7/2025
2025.1219.421 270 8/7/2025
2025.1219.377 266 8/7/2025
2025.1219.362 269 8/7/2025
2025.1219.361 266 8/7/2025
2025.1218.1281 268 8/6/2025
2025.1218.1266 264 8/6/2025
2025.1218.1264 273 8/6/2025
2025.1218.1255 269 8/6/2025
2025.1218.1223 271 8/6/2025
2025.1218.1180 265 8/6/2025
2025.1218.1166 262 8/6/2025
2025.1218.1154 264 8/6/2025
2025.1218.1088 272 8/6/2025
2025.1218.595 265 8/6/2025
2025.1218.554 269 8/6/2025
2025.1218.544 265 8/6/2025
2025.1218.523 270 8/6/2025
2025.1218.499 271 8/6/2025
2025.1218.427 273 8/6/2025
2025.1218.415 266 8/6/2025
2025.1218.187 270 8/6/2025
2025.1218.174 268 8/6/2025
2025.1218.148 270 8/6/2025
2025.1218.123 264 8/6/2025
2025.1217.886 270 8/5/2025
2025.1217.560 269 8/5/2025
2025.1217.516 272 8/5/2025
2025.1217.512 276 8/5/2025
2025.1217.503 277 8/5/2025
2025.1216.1103 233 8/4/2025
2025.1216.1025 229 8/4/2025
2025.1216.978 208 8/4/2025
2025.1216.897 208 8/4/2025
2025.1216.893 205 8/4/2025
2025.1216.884 209 8/4/2025
2025.1216.873 205 8/4/2025
2025.1216.824 207 8/4/2025
2025.1216.767 207 8/4/2025
2025.1216.745 213 8/4/2025
2025.1216.411 186 8/4/2025
2025.1216.396 186 8/4/2025
2025.1216.386 190 8/4/2025
2025.1216.357 185 8/4/2025
2025.1216.347 183 8/4/2025
2025.1216.334 189 8/4/2025
2025.1216.319 182 8/4/2025
2025.1215.930 151 8/3/2025
2025.1215.928 152 8/3/2025
2025.1215.911 155 8/3/2025
2025.1215.892 153 8/3/2025
2025.1215.842 153 8/3/2025
2025.1209.1064 151 7/28/2025
2025.1209.1061 143 7/28/2025
2025.1209.1047 149 7/28/2025
2025.1209.1038 153 7/28/2025
2025.1209.1034 149 7/28/2025
2025.1209.948 155 7/28/2025
2025.1209.881 159 7/28/2025
2025.1209.773 167 7/28/2025
2025.1209.765 158 7/28/2025
2025.1209.758 158 7/28/2025
2025.1209.727 163 7/28/2025
2025.1209.658 162 7/28/2025
2025.1209.300 158 7/28/2025
2025.1209.284 161 7/28/2025
2025.1209.264 159 7/28/2025
2025.1209.227 159 7/28/2025
2025.1209.198 154 7/28/2025
2025.1209.179 168 7/28/2025
2025.1208.826 178 7/27/2025
2025.1208.627 137 7/27/2025
2025.1208.617 140 7/27/2025
2025.1208.570 134 7/27/2025
2025.1208.568 145 7/27/2025
2025.1208.566 143 7/27/2025
2025.1206.491 470 7/25/2025
2025.1206.247 507 7/25/2025
2025.1205.230 516 7/24/2025
2025.1203.826 584 7/22/2025
2025.1202.906 534 7/21/2025
2025.1202.904 527 7/21/2025
2025.1202.283 457 7/21/2025
2025.1201.470 282 7/20/2025
2025.1199.287 176 7/18/2025
2025.1198.1048 188 7/17/2025
2025.1198.682 186 7/17/2025
2025.1198.638 187 7/17/2025
2025.1198.574 189 7/17/2025
2025.1198.187 196 7/17/2025
2025.1191.922 197 7/10/2025
2025.1191.235 199 7/10/2025
2025.1190.175 194 7/9/2025
2025.1189.851 197 7/8/2025
2025.1189.841 196 7/8/2025
2025.1187.587 197 7/6/2025
2025.1183.853 203 7/2/2025
2025.1181.644 187 6/30/2025
2025.1175.340 208 6/24/2025
2025.1174.62 198 6/23/2025
2025.1171.352 193 6/20/2025
2025.1169.413 196 6/18/2025
2025.1166.1191 192 6/15/2025
2025.1166.1178 193 6/15/2025
2025.1166.1177 193 6/15/2025
2025.1159.445 176 6/8/2025
2025.1159.364 169 6/8/2025
2025.1159.324 173 6/8/2025
2025.1155.438 199 6/4/2025
2025.1141.1424 202 5/21/2025
2025.1140.383 201 5/20/2025
2025.1140.377 200 5/20/2025
2025.1139.983 203 5/19/2025
2025.1139.952 198 5/19/2025
2025.1139.941 205 5/19/2025
2025.1139.855 210 5/19/2025
2025.1139.850 197 5/19/2025
2025.1139.837 194 5/19/2025
2025.1139.811 197 5/19/2025
2025.1139.806 200 5/19/2025
2025.1139.796 198 5/19/2025
2025.1139.729 199 5/19/2025
2025.1139.719 201 5/19/2025
2025.1139.706 201 5/19/2025
2025.1139.694 202 5/19/2025
2025.1139.679 199 5/19/2025
2025.1139.662 192 5/19/2025
2025.1139.638 176 5/19/2025
2025.1139.628 178 5/19/2025
2025.1139.626 184 5/19/2025
2025.1139.619 180 5/19/2025
2025.1139.605 180 5/19/2025
2025.1139.600 183 5/19/2025
2025.1139.583 195 5/19/2025
2025.1139.573 181 5/19/2025
2025.1139.564 182 5/19/2025
2025.1139.552 183 5/19/2025
2025.1139.543 179 5/19/2025
2025.1138.909 186 5/18/2025
2025.1136.150 256 5/16/2025
2025.1135.267 256 5/15/2025
2025.1135.143 263 5/15/2025
2025.1133.453 264 5/13/2025
2025.1133.351 265 5/13/2025
2025.1133.349 275 5/13/2025
2025.1133.347 269 5/13/2025
2025.1130.236 115 5/10/2025
2025.1129.831 146 5/9/2025
2025.1129.346 1,091 5/9/2025
2023.1176.407 247 6/25/2023
2023.1176.396 207 6/25/2023
2023.1176.363 220 6/25/2023
2023.1176.360 257 6/25/2023
2023.1175.638 216 6/24/2023
2023.1170.907 212 6/19/2023
2023.1170.900 214 6/19/2023
2023.1167.562 206 6/16/2023
2023.1167.556 221 6/16/2023
2023.1167.496 233 6/16/2023
2023.1166.1008 235 6/15/2023
2023.1166.938 208 6/15/2023
2023.1166.713 228 6/15/2023
2023.1166.699 218 6/15/2023
2023.1165.1065 226 6/14/2023
2023.1165.888 221 6/14/2023
2023.1165.878 223 6/14/2023
2023.1165.861 212 6/14/2023
2023.1165.828 223 6/14/2023
2023.1165.686 234 6/14/2023
2023.1165.653 217 6/14/2023
2023.377.1003 299 5/31/2023
2023.377.909 241 5/31/2023
2023.377.558 240 5/31/2023
2023.365.1417 285 5/30/2023
2023.365.1350 226 5/30/2023
2023.365.1327 222 5/30/2023
2023.365.1306 244 5/30/2023
2023.365.1198 249 5/30/2023
2023.365.1046 228 5/30/2023
2023.365.710 226 5/30/2023
2023.365.703 239 5/30/2023
2023.365.336 233 5/30/2023
2023.174.636 226 6/14/2023
2023.174.616 210 6/14/2023
2023.174.442 224 6/14/2023
2023.162.1243 217 6/13/2023
2023.162.1225 224 6/13/2023
2023.162.1023 210 6/13/2023
2023.162.948 215 6/13/2023
2023.162.865 220 6/13/2023
2023.162.770 245 6/13/2023
2023.162.734 233 6/13/2023
2023.162.701 227 6/13/2023
2023.162.470 236 6/13/2023
2023.162.418 220 6/13/2023
2023.150.1142 219 6/12/2023
2023.150.1121 222 6/12/2023
2023.150.1095 223 6/12/2023
2023.150.1081 211 6/12/2023
2023.150.1066 219 6/12/2023
2023.150.999 211 6/12/2023
2023.150.916 238 6/12/2023
2023.150.865 222 6/12/2023
2023.150.831 221 6/12/2023
2023.150.774 220 6/12/2023
2023.150.613 220 6/12/2023
2023.150.558 230 6/12/2023
2023.150.456 243 6/12/2023
2023.150.450 244 6/12/2023
2023.150.220 244 6/12/2023
2023.150.179 248 6/12/2023
2023.150.167 249 6/12/2023
2023.138.864 232 6/11/2023
2023.138.837 228 6/11/2023
2023.138.363 237 6/11/2023
2023.138.224 267 6/11/2023
2023.138.213 211 6/11/2023
2023.126.1167 242 6/11/2023
2023.126.1148 236 6/10/2023
2023.126.838 245 6/10/2023
2023.126.794 240 6/10/2023
2023.126.745 240 6/10/2023
2023.126.714 251 6/10/2023
2023.126.662 248 6/10/2023
2023.114.544 224 6/9/2023
2023.114.351 235 6/9/2023
2023.90.1030 239 6/7/2023
2023.90.1009 221 6/7/2023
2023.54.1152 221 6/4/2023
2023.54.419 245 6/4/2023
2023.54.198 224 6/4/2023
2023.54.60 207 6/4/2023
2023.54.48 242 6/4/2023
2023.42.745 225 6/3/2023
2023.30.1191 225 6/2/2023
2023.30.1172 237 6/2/2023
2023.30.1163 232 6/2/2023
2023.30.1147 234 6/2/2023
2023.30.1136 254 6/2/2023
2023.30.765 245 6/2/2023
2023.30.761 232 6/2/2023
2023.30.747 247 6/2/2023
2023.30.734 234 6/2/2023