Module: RubySMB::Fscc::FileInformation
- Included in:
- SMB1::Packet::Trans2::SetFileInformationRequestTrans2Data, SMB2::Packet::SetInfoRequest
- Defined in:
- lib/ruby_smb/fscc/file_information.rb,
lib/ruby_smb/fscc/file_information/file_ea_information.rb,
lib/ruby_smb/fscc/file_information/file_names_information.rb,
lib/ruby_smb/fscc/file_information/file_rename_information.rb,
lib/ruby_smb/fscc/file_information/file_stream_information.rb,
lib/ruby_smb/fscc/file_information/file_directory_information.rb,
lib/ruby_smb/fscc/file_information/file_disposition_information.rb,
lib/ruby_smb/fscc/file_information/file_network_open_information.rb,
lib/ruby_smb/fscc/file_information/file_both_directory_information.rb,
lib/ruby_smb/fscc/file_information/file_full_directory_information.rb,
lib/ruby_smb/fscc/file_information/file_id_both_directory_information.rb,
lib/ruby_smb/fscc/file_information/file_id_full_directory_information.rb
Overview
Namespace and constant values for File Information Classes, as defined in 2.4 File Information Classes
Defined Under Namespace
Classes: FileBothDirectoryInformation, FileDirectoryInformation, FileDispositionInformation, FileEaInformation, FileFullDirectoryInformation, FileIdBothDirectoryInformation, FileIdFullDirectoryInformation, FileNameInformation, FileNamesInformation, FileNetworkOpenInformation, FileRenameInformation, FileStreamInformation
Constant Summary collapse
- FILE_DIRECTORY_INFORMATION =
Information class used in directory enumeration to return detailed information about the contents of a directory.
0x01
- FILE_FULL_DIRECTORY_INFORMATION =
Information class used in directory enumeration to return detailed information (with extended attributes size) about the contents of a directory.
0x02
- FILE_BOTH_DIRECTORY_INFORMATION =
Information class used in directory enumeration to return detailed information (with extended attributes size and short names) about the contents of a directory.
0x03
- FILE_EA_INFORMATION =
Information class used to query for the size of the extended attributes (EA) for a file.
0x07
- FILE_RENAME_INFORMATION =
Information class used to rename a file.
0x0A
- FILE_NAMES_INFORMATION =
Information class used in directory enumeration to return detailed information (with only filenames) about the contents of a directory.
0x0C
- FILE_DISPOSITION_INFORMATION =
Information class used to mark a file for deletion.
0x0D
- FILE_STREAM_INFORMATION =
Information class used to enumerate the data streams of a file or a directory.
0x16
- FILE_NETWORK_OPEN_INFORMATION =
This information class is used to query for information that is commonly needed when a file is opened across a network.
0x22
- FILE_ID_BOTH_DIRECTORY_INFORMATION =
Information class used in directory enumeration to return detailed information (with extended attributes size, short names and file ID) about the contents of a directory.
0x25
- FILE_ID_FULL_DIRECTORY_INFORMATION =
Information class used in directory enumeration to return detailed information (with extended attributes size and file ID) about the contents of a directory.
0x26
- FILE_NORMALIZED_NAME_INFORMATION =
This information class is used to query the normalized name of a file. A normalized name is an absolute pathname where each short name component has been replaced with the corresponding long name component, and each name component uses the exact letter casing stored on disk.
0x30
- SMB_INFO_PASSTHROUGH =
These Information Classes can be used by SMB1 using the pass-through Information Levels when available on the server (CAP_INFOLEVEL_PASSTHRU capability flag in an SMB_COM_NEGOTIATE server response). The constant SMB_INFO_PASSTHROUGH needs to be added to access these Information Levels. This is documented in 2.2.2.3.5 Pass-through Information Level Codes
0x03e8
Class Method Summary collapse
Class Method Details
.name(value) ⇒ Object
68 69 70 |
# File 'lib/ruby_smb/fscc/file_information.rb', line 68 def self.name(value) constants.select { |c| c.upcase == c }.find { |c| const_get(c) == value } end |