Click or drag to resize

PlaceholderFileDehydrate Method (String, Int64, Int64, FileShare)

IT Hit User File System
Removes file content from user file system by handle.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.3.27213.0
Syntax
public static void Dehydrate(
	string path,
	long offset,
	long length,
	FileShare fileShare = FileShare.Delete
)

Parameters

path
Type: SystemString
File system path.
offset
Type: SystemInt64
Offset in bytes to start removing file content from.
length
Type: SystemInt64
Lenth of the file content to remove. -1 signifies end of file.
fileShare (Optional)
Type: System.IOFileShare
The kind of access other users can have to this file.
See Also