Otter SDK Reference
Version:

AddAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes) Method

Adds the specified attributes to the specified file.

Syntax

public static void AddAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

path
Type: string

The full path of the file.

attributes
Type: System.IO.FileAttributes

The attributes to add.