const FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS = (FileAttributes)4194304; // (0x00400000) var isNotReady = (File.GetAttributes(filename) & FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS) != 0;
References: