Пример #1
0
 internal static extern bool GetFileAttributesEx(String name, int fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
Пример #2
0
        public bool IsFileOrDirectoryNative()
        {
            WIN32_FILE_ATTRIBUTE_DATA data = new WIN32_FILE_ATTRIBUTE_DATA();

            return(GetFileAttributesEx(path, 0, data));
        }