ShareSnapshot record

Namespace Runic.Platform.Administration.Windows.Shares · Runic.Platform.Administration.Windows 0.7.0-preview.5

public sealed record ShareSnapshot : IEquatable<ShareSnapshot>

Inherits or implements IEquatable.

A share's configuration and optional stored self-relative security descriptor, separate from filesystem permissions.

Remarks

A null SecurityDescriptor means Windows returned no stored descriptor. This is distinct from a descriptor containing an empty DACL (deny all) or a null DACL. Access errors are thrown, never represented as null.

Constructors

ShareSnapshot

public ShareSnapshot(string Name, string Path, string Description, uint NativeType, uint MaximumUses, uint CurrentUses, ImmutableArray<byte>? SecurityDescriptor)

A share's configuration and optional stored self-relative security descriptor, separate from filesystem permissions.

Remarks

A null SecurityDescriptor means Windows returned no stored descriptor. This is distinct from a descriptor containing an empty DACL (deny all) or a null DACL. Access errors are thrown, never represented as null.

Properties

CurrentUses

public uint CurrentUses { get; init; }

No documentation.

Description

public string Description { get; init; }

No documentation.

MaximumUses

public uint MaximumUses { get; init; }

No documentation.

Name

public string Name { get; init; }

No documentation.

NativeType

public uint NativeType { get; init; }

No documentation.

Path

public string Path { get; init; }

No documentation.

SecurityDescriptor

public ImmutableArray<byte>? SecurityDescriptor { get; init; }

No documentation.