Last updated 1 year ago
[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] public static extern bool PathIsHTMLFile( [MarshalAs(UnmanagedType.LPWStr)] string pszPath );
Microsoft documentation: