# ILIsEqual

```csharp
[DllImport("shell32.dll")]
public static extern bool ILIsEqual(
   IntPtr pidl1,
   IntPtr pidl2
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-ilisequal)
