Click or drag to resize

FileSystemEntryOpenById Method

Gets an entry using its 128-bit identifier.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IntPtr OpenById(
	string volumeGuid,
	Guid id,
	FileAccess access = FileAccess.Read,
	FileShare share = FileShare.ReadWrite|FileShare.Delete,
	bool throwOnError = true
)

Parameters

volumeGuid
Type: SystemString
The volume Guid.
id
Type: SystemGuid
The entry identifier.
access (Optional)
Type: System.IOFileAccess
A constant that determines how the file can be accessed by the FileStream object.
share (Optional)
Type: System.IOFileShare
A constant that determines how the file will be shared by processes.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: IntPtr
A handle to the opened entry or IntPtr.Zero.
See Also