Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ Thumbs.db
# Environment files
.env
.env.*
/.vs
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,23 @@ Run the example: `node main.js`.

### C# Example

To run the C# example, you will need to have .NET 8 installed on your system.
To run the C# example, you will need to have .NET 10 installed on your system.

The example reads the API key from the `AISSTREAM_API_KEY` environment variable to help prevent accidental commits of API keys.

#### PowerShell

```powershell
$env:AISSTREAM_API_KEY = "your-api-key"
dotnet run
```

#### Command Prompt

```cmd
set AISSTREAM_API_KEY=your-api-key
dotnet run
```

### C Example

Expand Down
Loading