# GetBaseBNFHash Method

## Overloads

| [GetBaseBNFHash(BNFType)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.GetBaseBNFHash.htm#Qlik_Engine_Hub_GetBaseBNFHash_Qlik_Engine_BNFType_) |  | Gets a string hash calculated from the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language. If the hash changes between subsequent calls to this method, this indicates that the BNF grammar has changed. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.GetBaseBNFHash.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.GetBaseBNFHash.htm)

## GetBaseBNFHash(BNFType)

Gets a string hash calculated from the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language. If the hash changes between subsequent calls to this method, this indicates that the BNF grammar has changed.

### Declaration

```

          public string GetBaseBNFHash([QixName("qBnfType")] BNFType bnfType)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [BNFType](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.BNFType.htm) | bnfType | The type of grammar to return:<br><br><ul> <li>The script statements and the script functions if <code>qBnfType</code> is set to S.</li> <li>The chart functions if <code>qBnfType</code> is set to E.</li> </ul> |

### Returns

| Type | Description |
| --- | --- |
| System.String |  |

### Implements

[IHub.GetBaseBNFHash(BNFType)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetBaseBNFHash.htm#Qlik_Engine_IHub_GetBaseBNFHash_Qlik_Engine_BNFType_)