BuildMaster SDK Reference
Version:

AddFile(string name, long size, System.DateTime modified, System.IO.FileAttributes fileAttributes) Method

Adds a new file.

Syntax

public ExtendedFileEntryInfo AddFile(string name, long size, System.DateTime modified, System.IO.FileAttributes fileAttributes)

Parameters

name
Type: string

The name of the file to add.

size
Type: long

The size of the file.

modified
Type: System.DateTime

The timestamp when the file was last modified.

fileAttributes
Type: System.IO.FileAttributes

The attributes of the file.

Returns

The newly-added file.