Mono Class Library: System.BadImageFormatException Overview | Members

System.BadImageFormatException.FileName Property

Gets the name of the file with the invalid image.

public string FileName { get; }

Value

A string containing the name of the file with the invalid image, or null if no file name was passed to the constructor for the current instance.

Remarks

This property is read-only.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0