Checks if a given file is an assembly.
bool file::is-assembly(assemblyFile)
Parameters
Name | Type | Description |
---|---|---|
assemblyFile | string | The name or path of the file to be checked. |
Return Value
True if the file is a valid assembly, false if it's not or if the assembly seems corrupted (invalid headers or metadata).
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions