Click or drag to resize

BackupFileStreamWrite Method (Byte, Int32, Int32, Boolean)

When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public void Write(
	byte[] buffer,
	int offset,
	int count,
	bool processSecurity
)

Parameters

buffer
Type: SystemByte
An array of bytes. This method copies count bytes from buffer to the current stream.
offset
Type: SystemInt32
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count
Type: SystemInt32
The number of bytes to be written to the current stream.
processSecurity
Type: SystemBoolean
Specifies whether the function will restore the access-control list (ACL) data for the file or directory. If this is you need to specify TakeOwnership and ChangePermissions access when opening the file or directory handle. If the handle does not have those access rights, the operating system denies access to the ACL data, and ACL data restoration will not occur.
Exceptions
See Also