---
title: generateLicenseResponse()
framework: applicensedeliverysdk
role: symbol
role_heading: Instance Method
path: applicensedeliverysdk/aldsession/generatelicenseresponse()
---

# generateLicenseResponse()

Generates a license response. This method produces a license response, in a bytes array. The response is not yet signed.

## Declaration

```swift
func generateLicenseResponse() throws -> [UInt8]
```

## Mentioned in

Licensing alternative distribution apps

## Return Value

Return Value License in byte array
