Click or drag to resize

IFileSystemItemMetadataRemoteStorageItemId Property

IT Hit User File System
Remote storage item ID which uniquely identifies file or folder withing your user file system.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.1.26224.0-Beta2
Syntax
byte[] RemoteStorageItemId { get; set; }

Property Value

Type: Byte
Remarks

This field is an item identifier, which is unique withing your virtual file system. You will typically set it during folder listing inside GetChildrenAsync(String, IOperationContext, IFolderListingResultContext, CancellationToken). The platform will store the item identifier together with the item. The Engine will provide the RemoteStorageItemId during each operation, passing it inside the GetFileSystemItemAsync(Byte, FileSystemItemType, IContext, ILogger) method, so you can use it for your remote storage calls if needed.

On macOS platform this identifier should NOT change during the lifetime of the item. Including it should NOT change during the move operation.

On Windows platform, if your remote storage does not provide an item identifier, you can set this field to null. In this case you will map the user file system path, passed to GetFileSystemItemAsync(Byte, FileSystemItemType, IContext, ILogger) in the context parameter, to remote storage path and use it to identify your items in the remote storage. The path is available on Windows paltform only.

See Also