- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getNativeOs (0.06 sec)
-
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNotNull(testConfig.getMachineId()); assertEquals(32, testConfig.getMachineId().length); // Check native OS assertNotNull(testConfig.getNativeOs()); assertEquals(System.getProperty("os.name"), testConfig.getNativeOs()); // Check flags2 assertTrue(testConfig.getFlags2() > 0); assertTrue((testConfig.getFlags2() & SmbConstants.FLAGS2_LONG_FILENAMES) != 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.isUseBatching(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getNativeOs() */ @Override public String getNativeOs() { return this.delegate.getNativeOs(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getNativeLanman() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
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) -
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) -
src/main/java/jcifs/Configuration.java
*/ boolean isUseBatching(); /** * * Property {@code jcifs.smb.client.nativeOs} (string, default {@code os.name}) * * @return OS string to report */ String getNativeOs(); /** * * Property {@code jcifs.smb.client.nativeLanMan} (string, default {@code jCIFS}) * * @return Lanman string to report */ String getNativeLanman();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.maxMpxCount; } @Override public String getNativeLanman() { return this.nativeLanMan; } @Override public String getNativeOs() { return this.nativeOs; } @Override public int getVcNumber() { return this.vcNumber; } @Override public int getCapabilities() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)