# Hasp.SetLibPath Method

Namespace: Aladdin.Hasp

## Description

Sets the search path for the native Licensing API DLL.

Adds the newly-specified path to the default search path for finding the associated vendor-specific Licensing API library (hasp_windows_xxx.dll). The new path specified will be the first location that is searched for the Licensing API library.

## Syntax

    HaspStatus SetLibPath ( String path )

## Parameters

`path` | The search path.

## Returns

A HaspStatus status code.