Mono Class Library: System.Reflection.Module Overview | Members

System.Reflection.Module.Name Property

Gets a string containing the name of the module reflected by the current instance, with the path component removed.

public string Name { get; }

Value

A string containing the name of the module reflected by the current instance, with the path component removed. If the assembly that contains the module reflected by the current instance was loaded from a byte array, the value of this string is "<Unknown>".

Remarks

This property is read-only.

Note:

The value of this property is equivalent to the value of the string returned by the Module.ToString method.

Use Module.FullyQualifiedName to get the name and path of the module reflected by the current instance.

Requirements

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