[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern bool GetFileAttributesEx( string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA lpFileInformation );
Microsoft documentation: Link
Last updated 1 year ago