The LocalItem type exposes the following members.
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()()()().) |