DesktopContentDetection enum

Namespace Runic.Platform in Runic.Platform 0.23.0

public enum DesktopContentDetection

How IDesktopApplications.GetContentTypeAsync determines a file's type.

Remarks

This set is closed: it gains values only in a major release.

Values

NameOnly

NameOnly = 0

From the name alone, without touching the file; it need not exist.

NameAndContent

NameAndContent = 1

From the name and, when the name is not conclusive, the file's first bytes; the file must exist.