Exemplo n.º 1
0
        /// <summary>
        /// Determines whether the specified <paramref name="path"/> exists.
        /// </summary>
        /// <param name="path">The path.</param>
        /// <returns><see langword="true"/>, if the <paramref name="path"/> given exists; otherwise, <see langword="false"/>.</returns>
        /// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/> or empty.</exception>
        public static bool Exists(string path)
        {
            bool isDirectory;

            return(LongPathCommon.Exists(path, out isDirectory));
        }