Exemple #1
0
        // Get the length of a file.
        internal static long GetLength(String path)
        {
            long length;

            Directory.ValidatePath(path);
            Directory.HandleErrorsFile
                (FileMethods.GetLength(path, out length));
            return(length);
        }