Class RedactedSnapshot
Snapshot wrapper that redacts sensitive information.
Implements
Inherited Members
Namespace: Serenity.SystemConfiguration.Application.Snapshots
Assembly: Serenity.SystemConfiguration.Application.dll
Syntax
public class RedactedSnapshot : ISystemConfigurationSnapshot
Constructors
RedactedSnapshot(ISystemConfigurationSnapshot)
Creates a redacted snapshot from the source, hiding sensitive information.
Declaration
public RedactedSnapshot(ISystemConfigurationSnapshot src)
Parameters
| Type | Name | Description |
|---|---|---|
| ISystemConfigurationSnapshot | src | The source snapshot to redact. |
Properties
CollectedAtUtc
Gets the UTC timestamp when the snapshot was collected.
Declaration
public DateTime CollectedAtUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime | The UTC timestamp as a DateTime. |
CultureName
Specifies the culture name of the system configuration snapshot.
Declaration
public string CultureName { get; }
Property Value
| Type | Description |
|---|---|
| string | The culture name of the system configuration snapshot. |
DeviceModel
Specifies the device model of the system configuration snapshot.
Declaration
public string DeviceModel { get; }
Property Value
| Type | Description |
|---|---|
| string | The device model of the system configuration snapshot. |
DeviceName
Specifies the device name of the system configuration snapshot (redacted).
Declaration
public string DeviceName { get; }
Property Value
| Type | Description |
|---|---|
| string | The device name, redacted to "hidden". |
Displays
Specifies the list of displays and their configurations.
Declaration
public DisplayInfo[] Displays { get; }
Property Value
| Type | Description |
|---|---|
| DisplayInfo[] | The list of displays and their configurations. |
GpuMemoryMB
Specifies the GPU memory (in MB) of the system configuration snapshot.
Declaration
public int GpuMemoryMB { get; }
Property Value
| Type | Description |
|---|---|
| int | The GPU memory (in MB) of the system configuration snapshot. |
GpuName
Specifies the GPU name of the system configuration snapshot.
Declaration
public string GpuName { get; }
Property Value
| Type | Description |
|---|---|
| string | The GPU name of the system configuration snapshot. |
Language
Specifies the language of the system configuration snapshot.
Declaration
public string Language { get; }
Property Value
| Type | Description |
|---|---|
| string | The language of the system configuration snapshot. |
OperatingSystem
Specifies the operating system of the system configuration snapshot.
Declaration
public string OperatingSystem { get; }
Property Value
| Type | Description |
|---|---|
| string | The operating system of the system configuration snapshot. |
PrimaryDisplayHeight
Specifies the primary display height of the system configuration snapshot.
Declaration
public int PrimaryDisplayHeight { get; }
Property Value
| Type | Description |
|---|---|
| int | The primary display height of the system configuration snapshot. |
PrimaryDisplayRefreshRate
Specifies the primary display refresh rate of the system configuration snapshot.
Declaration
public int PrimaryDisplayRefreshRate { get; }
Property Value
| Type | Description |
|---|---|
| int | The primary display refresh rate of the system configuration snapshot. |
PrimaryDisplayWidth
Specifies the primary display width of the system configuration snapshot.
Declaration
public int PrimaryDisplayWidth { get; }
Property Value
| Type | Description |
|---|---|
| int | The primary display width of the system configuration snapshot. |
RegionDisplayName
Specifies the region display name of the system configuration snapshot.
Declaration
public string RegionDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string | The region display name of the system configuration snapshot. |
SupportsComputeShaders
Specifies whether the system configuration snapshot supports compute shaders.
Declaration
public bool SupportsComputeShaders { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if the system configuration snapshot supports compute shaders; otherwise, false. |
SupportsRayTracing
Specifies whether the system configuration snapshot supports ray tracing.
Declaration
public bool SupportsRayTracing { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if the system configuration snapshot supports ray tracing; otherwise, false. |
SystemMemoryMB
Specifies the system memory (RAM) in MB of the system configuration snapshot.
Declaration
public int SystemMemoryMB { get; }
Property Value
| Type | Description |
|---|---|
| int | The system memory (RAM) in MB of the system configuration snapshot. |
TimeZoneId
Specifies the time zone ID of the system configuration snapshot.
Declaration
public string TimeZoneId { get; }
Property Value
| Type | Description |
|---|---|
| string | The time zone ID of the system configuration snapshot. |