Assembly.GetName Method (Boolean)

 

Gets an AssemblyName for this assembly, setting the codebase as specified by copiedName.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual AssemblyName GetName(
	bool copiedName
)

Parameters

copiedName
Type: System.Boolean

true to set the CodeBase to the location of the assembly after it was shadow copied; false to set CodeBase to the original location.

Return Value

Type: System.Reflection.AssemblyName

An object that contains the fully parsed display name for this assembly.

FileIOPermission

for access to the path of the assembly. Associated enumeration: FileIOPermissionAccess.PathDiscovery

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: