The LocalItem type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
ComputeCrc32 |
Computes the CRC32 (Cyclic Redundancy Check) value of the file.
| |
Delete |
Deletes the local item.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCreationTime |
Gets the creation time of the item.
(Overrides FileSystemItem..::..GetCreationTime()()()().) | |
GetDirectories |
Gets the list of directory items in a directory represented by this object.
Fails if this object is not a directory.
| |
GetFiles |
Gets the list of file items in a directory represented by this object.
Fails if this object is not a directory.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetChecksum(String, ChecksumAlgorithm) |
Calculates the checksum for the specified file.
| |
GetChecksum(String, ChecksumAlgorithm, Int64, Int64) |
Calculates the checksum of the specified part of the specified file.
| |
GetLastAccessTime |
Gets the last access time of the item.
(Overrides FileSystemItem..::..GetLastAccessTime()()()().) | |
GetLastWriteTime |
Gets the last modification time of the item.
(Overrides FileSystemItem..::..GetLastWriteTime()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetCreationTime |
Sets the creation time of the item.
| |
SetLastAccessTime |
Sets the last access time of the item.
| |
SetLastWriteTime |
Sets the last modification time of the item.
| |
ToString |
Returns the full path of the item.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
Attributes |
Gets item attributes.
| |
CreationTime |
Gets the creation time of the item.
(Inherited from FileSystemItem.) | |
Exists |
Gets a value indicating whether the file or directory exists.
| |
FullPath |
Gets the full path of the file or directory.
| |
IsDirectory |
Gets a value indicating whether the item is a directory.
(Overrides FileSystemItem..::..IsDirectory.) | |
IsFile |
Gets a value indicating whether the item is a file.
(Overrides FileSystemItem..::..IsFile.) | |
IsLink |
Gets a value indicating whether the item is a link.
(Overrides FileSystemItem..::..IsLink.) | |
LastAccessTime |
Gets the last access time of the item.
(Inherited from FileSystemItem.) | |
LastWriteTime |
Gets the last modification time of the item.
(Inherited from FileSystemItem.) | |
Length |
Gets file length.
(Overrides FileSystemItem..::..Length.) | |
Name |
Gets the name of the file or directory.
(Overrides FileSystemItem..::..Name.) | |
Path |
Gets the relative path of the file or directory.
(Overrides FileSystemItem..::..Path.) |