SmbDialect

enum class SmbDialect : Enum<SmbDialect>

Supported SMB2 and SMB3 protocol dialects ([MS-SMB2] 2.2.3).

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Companion properties

Link copied to clipboard
val entries: EnumEntries<SmbDialect>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): SmbDialect

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<SmbDialect>

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val code: UShort

16-bit wire dialect revision code.

Link copied to clipboard
val isSmb3: Boolean

Whether this dialect belongs to the SMB 3.x family (0x0300 or higher).

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int