# HaspVersion(int, int, int, int) Constructor

Namespace: Aladdin.Hasp

## Description

Constructs a new HaspVersion object with specified major version, minor version, server id, and build number.

## Syntax

    public HaspVersion(int majorVersion,
                       int minorVersion,
                       int serverBuild,
                       int buildNumber);

## Parameters

>
Name | Description
--- | ---
`Version` | Major Version Number.
`minorVersion` | Minor Version Number.
`serverBuild` | Build Server ID.
`buildNumber` | Build Number.