.NET Framework Class Library
File Members

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > File Class >

.NET Framework Class Library
File Members

The File type exposes the following members.

Methods

 

Name

Description

Public method

AppendFile

Append a file to another one.

Public method

CheckReadOnlyFlag

Check if the read-only flag in the specified file is set

Public method

CopyFileListToClipboard

The command copies in the Clipboard all the files listed in the input TXT file.

Public method

CopyFilesToClipboard

The command copies in the Clipboard all the file paths passed.

Public method

CopyFileToDir

Copy a file into a given directory

Public method

CreateDir

Create a directory path as specified in the function arguments

Public method

CreateDirDBWServer

Create a directory path as specified in the function arguments; in case DBWServer is running on the machine, it assigns the OWNERSHIP folder attribute to the DBWServer login personality

Public method

DeleteFile

Delete a file into a given directory

Public method

DestroyFile

This command deletes the file and all the related files like *.GZ, *.TREE, etc.

Public method

DirNameFromFullName

Retrieve the directory name from the full (with the entire path) file name

Public method

Equals

(Inherited from Object.)

Public method

ExtFromFileName

Retrieves the only extension from the file name

Public method

FileCopy

Allows the execution of a FileCopy with administrative privileges, when needed.

Public method

FileExists

Check the existence of a file.

Public method

FileGetProperties

Retrieves the defined file properties.

Public method

FileLock

Sets the 'Write' ACL permission on the selected file.

Public method

FileMakePath

Creates the specified path.

Public method

FileNameFromFullName

Retrieves the file name from the full (with the entire path) file name

Public method

FileNameNoExt

Retrieves the file name without extension from the file name

Public method

FileRename

Renames a file.

Public method

FileSetProperty

Set a custom property on the target file.

Public method

FileTakeOwnership

Sets the 'Full' ACL permission on the selected file.

Public method

FileUnLock

Removes the 'Write' ACL permission on the selected file.

Public method

FileUnZip

Extracts file from a zip archive.

Public method

FileZipAdd

Fill a zip archive.

Public method

FileZipBegin

Start creation of a zip archive.

Public method

FileZipEnd

End creation of a zip archive.

Protected method

Finalize

(Inherited from Object.)

Public method

FolderExists

Checks if the assigned folder name exists.

Public method

GetHashCode

(Inherited from Object.)

Public method

GetMWComputedFilePath


Public method

GetSizeAndDates

This command allows the reading of the file size and dates with administrative priviledges, when needed.

Public method

GetType

(Inherited from Object.)

Public method

IsFileLocked

This command allows to check if a file is currently locked because it's checkedout and opened.

Public method

IsFileLockedExclusive

This command checks if a file is locked exclusively by another application (for example by Adobe Acrobat Reader when viewing a PDF file, or by Windows Explorer when previewing a PDF file).

Protected method

MemberwiseClone

(Inherited from Object.)

Public method

RemoveReadOnlyFlag

Remove the read-only flag from the specified file

Public method

SetReadOnlyFlag

Set the read-only flag in the specified file

Public method

ToString

(Inherited from Object.)

Public method

ValidFileName

Checks that the assigned filename is a valid operating system file name.

See Also

File Class

MwPDMApi Namespace