'How to use Laravel Scorm Handler?
Can anyone outline the steps I should take to create upload-a-scorm-zip-file and make it available as a course to users on laravel 8/9 with laravel scorm handler?
Solution 1:[1]
You can use the StringReader to step through the string line by line.
private async Task ReadLicenseAsync(string license)
{
using var textReader = new StringReader(license);
string line = string.Empty;
while ((line = await textReader.ReadLineAsync()) != null)
{
// TODO::Handle line
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | BionicCode |
