BackupFileStream Constructor (String, FileMode, FileSystemRights, FileShare)
Click or drag to resize
BackupFileStream Constructor (String, FileMode, FileSystemRights, FileShare)
Initializes a new instance of the BackupFileStream class with the specified path, creation mode, access rights and sharing permission.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
public BackupFileStream(
	string path,
	FileMode mode,
	FileSystemRights access,
	FileShare share


Type: SystemString
A relative or absolute path for the file that the current BackupFileStream object will encapsulate.
Type: System.IOFileMode
A FileMode constant that determines how to open or create the file.
Type: System.Security.AccessControlFileSystemRights
A FileSystemRights constant that determines the access rights to use when creating access and audit rules for the file.
Type: System.IOFileShare
A FileShare constant that determines how the file will be shared by processes.
See Also