NAnt SDK Documentation - v0.92 |

# AssemblyFunctions.GetName Method

Gets an AssemblyName for the specified assembly.

[Visual Basic]
<Function(Name:="get-name")>
Public Shared Function GetName( _
ByVal assembly As Assembly _
) As AssemblyName
[C#]
[Function(Name="get-name")]
public static AssemblyName GetName(
Assembly assembly
);

#### Parameters

assembly
  The assembly to get an AssemblyName for.

#### Return Value

An AssemblyName for the specified assembly.

#### See Also

AssemblyFunctions Class | NAnt.Core.Functions Namespace | AssemblyNameFunctions