Exemplo n.º 1
0
        public static void SetCreationTime(string path, DateTime creationTime)
        {
            MonoIOError error;

            Path.Validate(path);
            if (!MonoIO.Exists(path, out error))
            {
                throw MonoIO.GetException(path, error);
            }
            if (!MonoIO.SetCreationTime(path, creationTime, out error))
            {
                throw MonoIO.GetException(path, error);
            }
        }