Table of Contents

Method LogVersionInfo

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LogVersionInfo(string, string, bool)

Logs version information for all files matching the specified name in the given directory.

public static void LogVersionInfo(string baseFolder, string fileNameWithoutPath, bool recursive)

Parameters

baseFolder string

The path to the directory in which to search for files. Cannot be null or empty.

fileNameWithoutPath string

The name of the file to search for, without any directory path. Cannot be null or empty.

recursive bool

true to search all subdirectories of the base folder; otherwise, false to search only the top-level directory.

Exceptions

ArgumentNullException

Thrown if baseFolder or fileNameWithoutPath is null or empty.

LogVersionInfo(string)

Logs version information for the specified file to the application's logging system.

public static void LogVersionInfo(string filePath)

Parameters

filePath string

The path to the file for which version information will be retrieved and logged. Cannot be null or empty.