[Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [getHashUpgradeLevel](./bitburner.hacknet.gethashupgradelevel.md)
## Hacknet.getHashUpgradeLevel() method
Get the level of a hash upgrade.
Signature:
```typescript
getHashUpgradeLevel(upgName: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgName | string | |
Returns:
number
Level of the upgrade.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).