C# Class Microsoft.Protocols.TestSuites.Rdpbcgr.efs.RDP_FILE_RENAME_INFORMATION

A structure representing FileRenameInformation as a possible value of the FsInformationClass field. All fields have the same meaning as in FILE_RENAME_INFORMATION in [MS-FSCC] section 2.4.34. The differences are only in the layout of the fields.
Mostra file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
FileName byte[]
FileNameLength uint
ReplaceIfExists byte
RootDirectory byte

Property Details

FileName public_oe property

A sequence of Unicode characters containing the file name. When working with this field, use FileNameLength to determine the length of the file name rather than assuming the presence of a trailing null delimiter. If the RootDirectory member is 0, this member MUST specify a full pathname to be assigned to the file. For network operations, this pathname is relative to the root of the share. If the RootDirectory member is not 0, this member MUST specify a pathname, relative to RootDirectory, for the new name of the file.
public byte[] FileName
return byte[]

FileNameLength public_oe property

A 32-bit unsigned integer that specifies the length, in bytes, of the file name contained within the FileName member.
public uint FileNameLength
return uint

ReplaceIfExists public_oe property

MUST be an 8-bit field that is set to 1 to indicate that if a file with the given name already exists, it SHOULD be replaced with the given file. If set to 0, the rename operation MUST fail if a file with the given name already exists.
public byte ReplaceIfExists
return byte

RootDirectory public_oe property

It contains the file handle for the root directory. For network operations, this value MUST always be zero.
public byte RootDirectory
return byte