Trinet.Core.IO.Ntfs Represents the details of an alternative data stream. Initializes a new instance of the class. The full path of the file. This argument must not be . The containing the stream information. Initializes a new instance of the class. The full path of the file. This argument must not be . The name of the stream This argument must not be . The full path of the stream. If this argument is , it will be generated from the and arguments. if the stream exists; otherwise, . Returns a that represents the current instance. A that represents the current instance. Serves as a hash function for a particular type. A hash code for the current . Indicates whether the current object is equal to another object of the same type. An object to compare with this object. if the current object is equal to the parameter; otherwise, . Returns a value indicating whether this instance is equal to another instance. The instance to compare to. if the current object is equal to the parameter; otherwise, . The equality operator. The first object. The second object. if the two objects are equal; otherwise, . The inequality operator. The first object. The second object. if the two objects are not equal; otherwise, . Deletes this stream from the parent file. if the stream was deleted; otherwise, . The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. Calculates the access to demand. The . The . The . Opens this alternate data stream. A value that specifies whether a stream is created if one does not exist, and determines whether the contents of existing streams are retained or overwritten. A value that specifies the operations that can be performed on the stream. A value specifying the type of access other threads have to the file. The size of the buffer to use. to enable async-IO; otherwise, . A for this alternate data stream. is less than or equal to zero. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this alternate data stream. A value that specifies whether a stream is created if one does not exist, and determines whether the contents of existing streams are retained or overwritten. A value that specifies the operations that can be performed on the stream. A value specifying the type of access other threads have to the file. The size of the buffer to use. A for this alternate data stream. is less than or equal to zero. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this alternate data stream. A value that specifies whether a stream is created if one does not exist, and determines whether the contents of existing streams are retained or overwritten. A value that specifies the operations that can be performed on the stream. A value specifying the type of access other threads have to the file. A for this alternate data stream. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this alternate data stream. A value that specifies whether a stream is created if one does not exist, and determines whether the contents of existing streams are retained or overwritten. A value that specifies the operations that can be performed on the stream. A for this alternate data stream. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this alternate data stream. A value that specifies whether a stream is created if one does not exist, and determines whether the contents of existing streams are retained or overwritten. A for this alternate data stream. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this stream for reading. A read-only for this stream. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this stream for writing. A write-only for this stream. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Opens this stream as a text file. A which can be used to read the contents of this stream. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. The path of the stream is invalid. There was an error opening the stream. Returns the full path of this stream. The full path of this stream. Returns the full path of the file which contains the stream. The full file-system path of the file which contains the stream. Returns the name of the stream. The name of the stream. Returns a flag indicating whether the specified stream exists. if the stream exists; otherwise, . Returns the size of the stream, in bytes. The size of the stream, in bytes. Returns the type of data. One of the values. Returns attributes of the data stream. A combination of values. Represents the attributes of a file stream. No attributes. Set if the stream contains data that is modified when read. Set if the stream contains security data. Set if the stream contains properties. Set if the stream is sparse. Represents the type of data in a stream. Unknown stream type. Standard data. Extended attribute data. Security data. Alternate data stream. Hard link information. Property data. Object identifiers. Reparse points. Sparse file. Transactional data. (Undocumented - BACKUP_TXFS_DATA) File-system utilities. Creates a for the specified path. The path of the file or directory. The representing the file or directory. is or empty. (Extension Method)
Returns a read-only list of alternate data streams for the specified file.
The to inspect. A read-only list of objects representing the alternate data streams for the specified file, if any. If no streams are found, returns an empty list. is . The specified does not exist. The caller does not have the required permission. The caller does not have the required permission.
Returns a read-only list of alternate data streams for the specified file. The full path of the file to inspect. A read-only list of objects representing the alternate data streams for the specified file, if any. is or an empty string. is not a valid file path. The specified does not exist. The caller does not have the required permission. The caller does not have the required permission. (Extension Method)
Returns a flag indicating whether the specified alternate data stream exists.
The to inspect. The name of the stream to find. if the specified stream exists; otherwise, . is . contains invalid characters.
Returns a flag indicating whether the specified alternate data stream exists. The path of the file to inspect. The name of the stream to find. if the specified stream exists; otherwise, . is or an empty string. is not a valid file path. -or- contains invalid characters. (Extension Method)
Opens an alternate data stream.
The which contains the stream. The name of the stream to open. One of the values, indicating how the stream is to be opened. An representing the stream. is . The specified was not found. contains invalid characters. is either or . is , and the stream doesn't exist. -or- is , and the stream already exists. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only.
(Extension Method)
Opens an alternate data stream.
The which contains the stream. The name of the stream to open. An representing the stream. is . The specified was not found. contains invalid characters. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only.
Opens an alternate data stream. The path of the file which contains the stream. The name of the stream to open. One of the values, indicating how the stream is to be opened. An representing the stream. is or an empty string. The specified was not found. is not a valid file path. -or- contains invalid characters. is either or . is , and the stream doesn't exist. -or- is , and the stream already exists. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. Opens an alternate data stream. The path of the file which contains the stream. The name of the stream to open. An representing the stream. is or an empty string. The specified was not found. is not a valid file path. -or- contains invalid characters. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. (Extension Method)
Deletes the specified alternate data stream if it exists.
The to inspect. The name of the stream to delete. if the specified stream is deleted; otherwise, . is . contains invalid characters. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use.
Deletes the specified alternate data stream if it exists. The path of the file to inspect. The name of the stream to find. if the specified stream is deleted; otherwise, . is or an empty string. is not a valid file path. -or- contains invalid characters. The caller does not have the required permission. The caller does not have the required permission, or the file is read-only. The specified file is in use. A for a global memory allocation. Initializes a new instance of the class. The initial handle value. The size of this memory block, in bytes. Initializes a new instance of the class. Allocates memory from the unmanaged memory of the process using GlobalAlloc. The number of bytes in memory required. A representing the memory. There is insufficient memory to satisfy the request. Returns an invalid handle. An invalid . Executes the code required to free the handle. if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a releaseHandleFailed MDA Managed Debugging Assistant. Gets a value indicating whether the handle value is invalid. if the handle value is invalid; otherwise, . Returns the size of this memory block. The size of this memory block, in bytes. Safe native methods. Initializes a new instance of the class. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Ensures that there is sufficient memory allocated. The required capacity of the block, in bytes. There is insufficient memory to satisfy the request. Reads the Unicode string from the memory block. The length of the string to read, in characters. The string read from the memory block. Reads the string, and extracts the stream name. The length of the string to read, in characters. The stream name. Returns the handle to the block of memory. The representing the block of memory. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Access to the path '{0}' was denied.. Looks up a localized string similar to Cannot create '{0}' because a file or directory with the same name already exists.. Looks up a localized string similar to Could not find a part of the path '{0}'.. Looks up a localized string similar to Could not find the drive '{0}'. The drive might not be ready or might not be mapped.. Looks up a localized string similar to The file '{0}' already exists.. Looks up a localized string similar to The specified stream name contains invalid characters.. Looks up a localized string similar to The specified mode '{0}' is not supported.. Looks up a localized string similar to The specified file name '{0}' is not a disk-based file.. Looks up a localized string similar to The process cannot access the file '{0}' because it is being used by another process.. Looks up a localized string similar to The specified alternate data stream '{0}' already exists on file '{1}'.. Looks up a localized string similar to The specified alternate data stream '{0}' does not exist on file '{1}'.. Looks up a localized string similar to Unknown error: {0}.