Click or drag to resize

FileOpenWriteTransacted Method (KernelTransaction, String)

[AlphaFS] Opens an existing file or creates a new file for writing.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static FileStream OpenWriteTransacted(
	KernelTransaction transaction,
	string path
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
The file to be opened for writing.

Return Value

Type: FileStream
An unshared FileStream object on the specified path with Write access.
Remarks
This method is equivalent to the FileStream(String, FileMode, FileAccess, FileShare) constructor overload with file mode set to OpenOrCreate, the access set to Write, and the share mode set to None.
See Also