Click or drag to resize

FileSystemEntryUnprotect Method

Removes the ReadOnly attribute of an entry using its 128-bit identifier.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool Unprotect(
	string volumeGuid,
	Guid id,
	bool throwOnError = true
)

Parameters

volumeGuid
Type: SystemString
The volume Guid.
id
Type: SystemGuid
The entry identifier.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: Boolean
true if the entry was protected and the protection was removed; otherwise false.
See Also