LocalItem Class
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9147)
Represents a file or directory on the local file system.
Syntax
public class LocalItem : FileSystemItem
Inherited Members
Constructors
Name | Description |
---|---|
Local |
Initializes a new instance of the Local |
Properties
Name | Description |
---|---|
Attributes | Gets item attributes. |
Creation |
Gets the creation time of the item.
Inherited from File |
Exists | Gets a value indicating whether the file or directory exists. |
Full |
Gets the full path of the file or directory. |
Is |
Gets a value indicating whether the item is a directory. |
Is |
Gets a value indicating whether the item is a file. |
Is |
Gets a value indicating whether the item is a link. |
Last |
Gets the last access time of the item.
Inherited from File |
Last |
Gets the last modification time of the item.
Inherited from File |
Length | Gets file length. |
Name | Gets the name of the file or directory. |
Path | Gets the relative path of the file or directory. |
Methods
Name | Description |
---|---|
Compute |
Computes the CRC32 (Cyclic Redundancy Check) value of the file. |
Delete() | Deletes the local item. |
Get |
Calculates the checksum for the specified file. |
Get |
Calculates the checksum of the specified part of the specified file. |
Get |
Gets the creation time of the item. |
Get |
Gets the list of directory items in a directory represented by this object. Fails if this object is not a directory. |
Get |
Gets the list of file items in a directory represented by this object. Fails if this object is not a directory. |
Get |
Gets the last access time of the item. |
Get |
Gets the last modification time of the item. |
Set |
Sets the creation time of the item. |
Set |
Sets the last access time of the item. |
Set |
Sets the last modification time of the item. |
To |
Returns the full path of the item. |