    # File lib/chef/util/windows/net_use.rb, line 81
      def add(args)
        if args.class == String
          remote = args
          args = Hash.new
          args[:remote] = remote
        end
        args[:local] ||= @localname
        use = use_info_2(args)
        buffer = use_info_2_pack(use)
        rc = NetUseAdd.call(nil, 2, buffer, nil)
        if rc != NERR_Success
          raise ArgumentError, get_last_error(rc)
        end
      end