Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getNativeOs (0.15 sec)

  1. src/test/java/jcifs/context/SingletonContextTest.java

            assertDoesNotThrow(() -> SingletonContext.init(props));
            CIFSContext context = SingletonContext.getInstance();
            assertNotNull(context);
            assertEquals("CustomOS", context.getConfig().getNativeOs());
            assertEquals("CustomLanman", context.getConfig().getNativeLanman());
        }
    
        @Test
        void testInitAlreadyInitializedThrowsException() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            return this.nativeLanMan;
        }
    
        /**
         * Returns the native operating system string reported by the server.
         *
         * @return the nativeOs
         */
        public final String getNativeOs() {
            return this.nativeOs;
        }
    
        /**
         * Returns the primary domain name of the server.
         *
         * @return the primaryDomain
         */
        public final String getPrimaryDomain() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
            dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex);
            dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.isPort139FailoverEnabled();
                mockConfig.isUseUnicode();
                mockConfig.isForceUnicode();
                mockConfig.isUseBatching();
                mockConfig.getNativeOs();
                mockConfig.getNativeLanman();
                mockConfig.getReceiveBufferSize();
                mockConfig.getSendBufferSize();
                mockConfig.getSoTimeout();
                mockConfig.getConnTimeout();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void writeParameterWordsWithBlob() throws Exception {
            setupNegotiateStubs();
            when(mockConfig.getVcNumber()).thenReturn(0);
            when(mockConfig.getNativeOs()).thenReturn("Test OS");
            when(mockConfig.getNativeLanman()).thenReturn("Test LAN");
    
            byte[] blob = blobCred();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top