Property Info
Info
Gets the FileSystemInfo object representing the file or directory associated with the current instance.
public virtual FileSystemInfo? Info { get; }
Property Value
Remarks
The returned object is either a FileInfo if the path represents a file, or a DirectoryInfo if the path represents a directory. If the path is invalid or an exception occurs during initialization, the property returns null.