# FindForPackageName(string)

> Retrieves information about the package based on the name of that package.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.PackageManager](/engine/6000.5/script-reference/unityeditor/packagemanager.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static PackageInfo FindForPackageName(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The package name to look for.

### Returns

| Type                                                                                     | Description                                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PackageInfo](/engine/6000.5/script-reference/unityeditor/packagemanager/packageinfo.md) | The [PackageInfo](/engine/6000.5/script-reference/unityeditor/packagemanager/packageinfo.md) instance describing the package, or null if there is no registered package with the given name. |
