A string that represents the full path of the module reflected by the current instance. 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>".
To get the name without the path, use Module.Name.
If the assembly for this module was loaded from a byte array then the FullyQualifiedName for the module will be: <Unknown>.
The case of module name is platform-dependent.
Type | Reason |
---|---|
System.Security.Permissions.FileIOPermission | Requires permission to access path information. See System.Security.Permissions.FileIOPermission and System.Security.Permissions.FileIOPermissionAccess.PathDiscovery. |