# GenerateQrCode(Byte[], QRCodeGenerator.ECCLevel) Method
Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation.
## Definition
**Namespace:** QRCoder.Core
**Assembly:** QRCoder.Core (in QRCoder.Core.dll) Version: 1.0.2+100b048b01076590efe500a3be242a5faeb43294
**XMLNS for XAML:** Not mapped to an xmlns.
**C#**
``` C#
public static QRCodeData GenerateQrCode(
byte[] binaryData,
QRCodeGenerator.ECCLevel eccLevel
)
```
**C++**
``` C++
public:
static QRCodeData^ GenerateQrCode(
array^ binaryData,
QRCodeGenerator.ECCLevel eccLevel
)
```
#### Parameters