Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMacAddress (0.18 sec)

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertTrue(nbtAddress.isInConflict(mockContext));
            assertFalse(nbtAddress.isActive(mockContext));
            assertTrue(nbtAddress.isPermanent(mockContext));
            assertArrayEquals(testMacAddress, nbtAddress.getMacAddress(mockContext));
        }
    
        @Test
        void testUnwrap() {
            // Test unwrap method for correct type casting
            mockName = new Name(mockConfig, "TEST", 0x20, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NetbiosAddress.java

         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException
         *             if the host cannot be resolved to
         *             determine the MAC address.
         */
        byte[] getMacAddress(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         *
         * @return the name type
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

        @Override
        public boolean isPermanent(final CIFSContext tc) throws UnknownHostException {
            checkNodeStatusData(tc);
            return this.isPermanent;
        }
    
        @Override
        public byte[] getMacAddress(final CIFSContext tc) throws UnknownHostException {
            checkNodeStatusData(tc);
            return this.macAddress;
        }
    
        /**
         * The hostname of this address. If the hostname is null the local machines
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         *
         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException if the host cannot be resolved to
         * determine the MAC address.
         */
    
        public byte[] getMacAddress() throws UnknownHostException {
            checkNodeStatusData();
            return macAddress;
        }
    
        /**
         * The hostname of this address. If the hostname is null the local machines
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top