One change
csharp
cli-sdks-libraries/sdks/csharp
Nearest release: v2.1.238, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
cli-sdks-libraries/sdks/csharp Changed · +3 / -3 lines
from line 354
```csharp using System; -using Anthropic.Models.Beta.Files; +using Anthropic.Models.Files; FileDownloadParams parameters = new() { FileID = "file_id" }; -var response = await client.Beta.Files.Download(parameters); +var response = await client.Files.Download(parameters); Console.WriteLine(response); ```
from line 368
```csharp using System.IO; -using var response = await client.Beta.Files.Download(parameters); +using var response = await client.Files.Download(parameters); using var contentStream = await response.ReadAsStream(); using var fileStream = File.Open(path, FileMode.OpenOrCreate); await contentStream.CopyToAsync(fileStream); // Or any other Stream