SPSolution.Name property

Returns the name of the solution.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string Name { get; }

Property value

Type: System.String
A string containing the solution name.

The name of the solution is set to the filename when you first add the solution to the store. If you subsequently upgrade the solution with a different file, the SolutionFile property gets updated but the Name property remains the same.