[DllImport("shell32.dll", CharSet = CharSet.Unicode)] public static extern int SHIsFileAvailableOffline( IntPtr pwszPath, uint pdwStatus );
Microsoft documentation: Link
Last updated 2 months ago