# HaspFeature Class

Namespace: Aladdin.Hasp

## Description

Provides methods to access various attributes of Features.

## Syntax

    public class HaspFeature :
                IComparable<HaspFeature>

## Constructors

Name | Description
--- | ---
HaspFeature(int) | Constructs a new HaspFeature object with the specified feature id.
HaspFeature(FeatureType) | Constructs a new HaspFeature object with the specified predefined feature id.

## Properties

Name | Description
--- | ---
Default | Gets a new HaspFeature object initialized with FeatureType.Default.
Feature | Get the feature id without filtering the legacy flags.
FeatureId | Get the absolute feature id.
IsDefault | Returns whether a feature is the default feature.