<!-- Do not edit this file. It is automatically generated by API Documenter. --> [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. <b>Signature:</b> ```typescript getHashUpgradeLevel(upgName: string): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | upgName | string | | <b>Returns:</b> 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).