Click or drag to resize

FilePathApplyInheritableFilePermissions Method

Replaces the permissions of the file at the given targetPath with the inheritable permissions from the directory at the given sourcePath.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntax
public static void ApplyInheritableFilePermissions(
	string sourcePath,
	string targetPath
)
View Source

Parameters

sourcePath  String
The path to the directory from which to derive inheritable permissions.
targetPath  String
The path to the file to which to apply the derived permissions.
See Also