Click or drag to resize

FileSystemInfo Class

Provides the base class for both CrestronIO.FileInfo and CrestronIO.DirectoryInfo objects.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.CrestronIOFileSystemInfo
    Crestron.SimplSharp.CrestronIODirectoryInfo
    Crestron.SimplSharp.CrestronIOFileInfo

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public abstract class FileSystemInfo

The FileSystemInfo type exposes the following members.

Constructors
 NameDescription
Protected methodFileSystemInfo Initializes a new instance of the CrestronIO.FileSystemInfo class.
Top
Properties
 NameDescription
Public propertyAttributes Gets or sets the FileAttributes of the current object.
Public propertyCreationTime Gets the creation time of the current object.
Public propertyExists Determines if the current directory exists on the system.
Public propertyExtension Gets the string representing the extension part of the file.
Public propertyFullName Return the full path of the Directory
Public propertyLastAccessTime Gets the time the current file or directory was last accessed.
Public propertyLastWriteTime Gets the time when the current file or directory was last written to.
Public propertyName Return the name of the current directory.
Top
Methods
 NameDescription
Public methodDelete Delete the current directory.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRefresh Refreshes the state of the object.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also