- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getNativeOs (0.1 seconds)
-
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 {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (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; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0)