private void GetInfo()
{
Length = Info.Length;
ModificationTime = Info.LastWriteTimeUtc;
if (Utilities.Symlink.Exists(Info, CanonicalName))
{
Attributes = Attributes | Objects.Attributes.Symlink;
Length = 0;
}
if (Info.Attributes.HasFlag(FileAttributes.Hidden))
Attributes = Attributes | Objects.Attributes.Hidden;
if (Info.Attributes.HasFlag(FileAttributes.ReadOnly))
Attributes = Attributes | Objects.Attributes.ReadOnly;
}