NodeWorld

CatalogImageProcessor

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public static class CatalogImageProcessor

Namespace NodeWorld.SDK.Shared.

Reads the pictures the server shows in the catalog and computes their hash.

Methods

ProcessServerImage

csharp
public static CatalogImageMetadata ProcessServerImage(string worldsRoot, string sourceRelativePath, INWLogger logger)

Processes the server banner/cover image.

ComputeSha256Hex

csharp
public static string ComputeSha256Hex(byte[] bytes)

Computes a lowercase hex SHA-256 hash of the provided byte array. Used by catalog media validation.