|
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.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public static void ApplyInheritableFilePermissions(
string sourcePath,
string targetPath
)
Public Shared Sub ApplyInheritableFilePermissions (
sourcePath As String,
targetPath As String
)
public:
static void ApplyInheritableFilePermissions(
String^ sourcePath,
String^ targetPath
)
static member ApplyInheritableFilePermissions :
sourcePath : string *
targetPath : string -> unit
GSF.IO.FilePath.ApplyInheritableFilePermissions = function(sourcePath, targetPath);
View SourceParameters
- 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