Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 399 for csharp (0.05 sec)

  1. src/main/java/jcifs/smb/NtlmUtil.java

        }
    
        /**
         * Generates the NT password hash for the given password.
         * This version accepts char[] for better security.
         *
         * @param password the password to hash as char array
         * @return nt password hash
         */
        public static byte[] getNTHash(final char[] password) {
            if (password == null) {
                throw new NullPointerException("Password parameter is required");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                throw new IOException("Witness async notify RPC failed", e);
            }
        }
    
        /**
         * Generates a registration ID from context handle and share name.
         *
         * @param contextHandle the context handle
         * @param shareName the share name
         * @return the registration ID
         */
        private String generateRegistrationId(byte[] contextHandle, String shareName) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. README.md

    // Using default context
    CIFSContext context = SingletonContext.getInstance();
    
    // Access a file (encryption is transparent - automatically used if server requires it)
    try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) {
        if (file.exists()) {
            System.out.println("File size: " + file.length());
        }
    }
    ```
    
    ### With Authentication
    
    ```java
    import jcifs.CIFSContext;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/UUID.java

                }
                count++;
            }
    
            return value;
        }
    
        static final char[] HEXCHARS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
    
        private static String bin_to_hex(int value, final int length) {
            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    /**
     * @author Jesse Wilson
     */
    final class Platform {
    
      private static final char[] CHAR_BUFFER = new char[1024];
    
      static char[] charBufferFromThreadLocal() {
        // ThreadLocal is not available to GWT, so we always reuse the same
        // instance.  It is always safe to return the same instance because
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         */
        int NTLMSSP_TARGET_TYPE_SERVER = 0x00020000;
    
        /**
         * Sent by the server in the Type 2 message to indicate that the
         * target authentication realm is a share (presumably for share-level
         * authentication).
         */
        int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000;
    
        /**
         * Indicates that the NTLM2 signing and sealing scheme should be used
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <code>getSecurity</code> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/witness/MockWitnessService.java

                throw new IOException("Service not started");
            }
            return serverSocket.getLocalPort();
        }
    
        /**
         * Simulate a witness registration
         *
         * @param shareName the share name
         * @param serverAddress the server address
         * @param flags the registration flags
         * @return the registration ID
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/UUID.java

         * @return the hexadecimal string representation
         */
        public static String bin_to_hex(int value, final int length) {
            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/packaging/deb/copyright

     See the License for the specific language governing permissions and
     limitations under the License.
     .
     On Debian systems, the complete text of the Apache version 2.0 license
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jan 07 06:27:26 UTC 2016
    - 749 bytes
    - Viewed (0)
Back to top