mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-14 13:49:03 +00:00
* Updated doc structure --------- Co-authored-by: docs-builder <docs-builder@localhost>
432 B
432 B
ImageInfo
Metadata returned by Session.GetImages().
using Windows.Storage.Streams;
public sealed class ImageInfo
{
public string Name { get; }
public IBuffer Sha256 { get; }
public ulong Size { get; }
public DateTimeOffset CreatedTimestamp { get; }
}
Example:
foreach (var image in session.GetImages())
{
Console.WriteLine($"{image.Name} ({image.Size / 1024 / 1024} MB)");
}