Module jcifs

Class Name

java.lang.Object
org.codelibs.jcifs.smb1.netbios.Name

public class Name extends Object
NetBIOS name representation for SMB1 protocol. This class represents a NetBIOS name with its associated type and scope.
  • Field Details

    • name

      public String name
      The NetBIOS name (up to 15 characters)
    • scope

      public String scope
      The NetBIOS scope identifier
    • hexCode

      public int hexCode
      The NetBIOS name type/suffix (hexadecimal code)
  • Constructor Details

    • Name

      public Name(String name, int hexCode, String scope)
      Creates a NetBIOS name with the specified attributes.
      Parameters:
      name - the NetBIOS name (will be truncated to 15 characters if longer)
      hexCode - the NetBIOS name type/suffix
      scope - the NetBIOS scope identifier (uses default if null or empty)
  • Method Details