Summary
Checks if file has CLR PE Header.
- Namespace
- Cake
.Core .IO - Containing Type
- FileExtensions
Syntax
public static bool IsClrAssembly(this IFile file)
Remarks
See https://docs.microsoft.com/en-us/windows/desktop/Debug/pe-format for more information.
Parameters
| Name | Type | Description |
|---|---|---|
| file | IFile | The file to be read from. |
Return Value
| Type | Description |
|---|---|
| bool | true if file is CLR assembly; otherwise, false. |
